Re: Boehm-gc performance data

2006-06-25 Thread Paulo J. Matos

On 23/06/06, Laurynas Biveinis <[EMAIL PROTECTED]> wrote:

I'm still waiting for the testsuite to complete (it's been running
just for about 24 hours so far). In the meanwhile I'd like to discuss
the first performance results, which I've put on the Wiki:

First number is GCC with Boehm's GC and the number in parentheses is
GCC with page collector.

combine.c: top mem usage: 52180k (13915k). GC execution time 0.66
(0.61) 4% (4%). User running time: 0m16 (0m14).



How are you collecting top mem usage?

Thanks,
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Re: unable to detect exception model

2006-06-25 Thread Andrew Pinski


On Jun 24, 2006, at 6:58 AM, Andrew Pinski wrote:


I can reproduce this, something is miscompiling cc1plus.


If I revert:
2006-06-23  Richard Guenther  <[EMAIL PROTECTED]>

* ggc-page.c (init_ggc): Do not round up the  
extra_order_size_table

sizes to MAX_ALIGNMENT.  Fix the size_lookup table to honour
alignment requests instead.  Add verification code.
Add struct tree_function_decl and struct tree_binfo size to
extra_order_size_table.  Add missing element to size_lookup
table.

Bootstrap works.


Thanks,
Andrew Pinski




Re: unable to detect exception model

2006-06-25 Thread Richard Guenther
On Sun, 25 Jun 2006, Andrew Pinski wrote:

> 
> On Jun 24, 2006, at 6:58 AM, Andrew Pinski wrote:
> 
> >I can reproduce this, something is miscompiling cc1plus.
> 
> If I revert:
> 2006-06-23  Richard Guenther  <[EMAIL PROTECTED]>
> 
>* ggc-page.c (init_ggc): Do not round up the extra_order_size_table
>sizes to MAX_ALIGNMENT.  Fix the size_lookup table to honour
>alignment requests instead.  Add verification code.
>Add struct tree_function_decl and struct tree_binfo size to
>extra_order_size_table.  Add missing element to size_lookup
>table.
> 
> Bootstrap works.

How does size_loopup look like?  And object_size_table?  Does

Index: ggc-page.c
===
--- ggc-page.c  (revision 114974)
+++ ggc-page.c  (working copy)
@@ -1574,8 +1574,9 @@ init_ggc (void)

   /* Verify we got everything right with respect to alignment requests.  
*/
   for (order = 1; order < 512; ++order)
-gcc_assert (ffs (OBJECT_SIZE (size_lookup [order]))
-   >= ffs (order | MAX_ALIGNMENT));
+gcc_assert ((ffs (OBJECT_SIZE (size_lookup [order]))
+>= ffs (order | MAX_ALIGNMENT))
+   && order >= OBJECT_SIZE (size_lookup [order]));

   G.depth_in_use = 0;
   G.depth_max = 10;

pass?  What is MAX_ALIGNMENT on ppc-darwin?  It's defined as

struct max_alignment {
  char c;
  union {
HOST_WIDEST_INT i;
long double d;
  } u;
};

/* The biggest alignment required.  */

#define MAX_ALIGNMENT (offsetof (struct max_alignment, u))


I would guess this exposes a latent GC problem, do you have a testcase
or a .o file that is miscompiled?  Does it reproduce with different
gc --parms?  Does ppc-darwin use the USING_MMAP variant?

It would be nice if you can track down this some more, as I do not
have access to ppc-darwin.

Richard.

--
Richard Guenther <[EMAIL PROTECTED]>
Novell / SUSE Labs


Re: unable to detect exception model

2006-06-25 Thread Daniel Jacobowitz
On Sun, Jun 25, 2006 at 07:59:14PM +0200, Richard Guenther wrote:
> pass?  What is MAX_ALIGNMENT on ppc-darwin?  It's defined as
> 
> struct max_alignment {
>   char c;
>   union {
> HOST_WIDEST_INT i;
> long double d;
>   } u;
> };
> 
> /* The biggest alignment required.  */
> 
> #define MAX_ALIGNMENT (offsetof (struct max_alignment, u))

I learned while working on the zone collector that there is at least
one platform where this doesn't work, because "long double" had an
alignment of eight on its own and four as a structure field.  It might
have been powerpc-darwin.

-- 
Daniel Jacobowitz
CodeSourcery


Re: unable to detect exception model

2006-06-25 Thread Andrew Pinski


On Jun 25, 2006, at 11:12 AM, Daniel Jacobowitz wrote:


I learned while working on the zone collector that there is at least
one platform where this doesn't work, because "long double" had an
alignment of eight on its own and four as a structure field.  It might
have been powerpc-darwin.


Maybe the struct should be rewritten like:

struct max_alignment {
  char c;
  union {
long double d;
HOST_WIDEST_INT i;
  } u;
};


To make sure the long double was first which is usually the cures the  
whole struct

alignment issues.

I will see if this fixes the issue but after I finish watching Dr. Who.

Thanks,
Andrew Pinski


Re: Boehm-gc performance data

2006-06-25 Thread Laurynas Biveinis

2006/6/25, Paulo J. Matos <[EMAIL PROTECTED]>:

> combine.c: top mem usage: 52180k (13915k). GC execution time 0.66
> (0.61) 4% (4%). User running time: 0m16 (0m14).
>

How are you collecting top mem usage?


Sorry, that's not the top mem usage, but rather peak GC allocated
bytes. Determining them is easy from -Q output.

--
Laurynas


Re: unable to detect exception model

2006-06-25 Thread Daniel Jacobowitz
On Sun, Jun 25, 2006 at 11:19:45AM -0700, Andrew Pinski wrote:
> Maybe the struct should be rewritten like:
> >struct max_alignment {
> >  char c;
> >  union {
> >long double d;
> >HOST_WIDEST_INT i;
> >  } u;
> >};
> 
> To make sure the long double was first which is usually the cures the  
> whole struct
> alignment issues.

It's a union.  If that makes a difference the platform ABI is
hopelessly broken.

Anyway, I'm thinking of MAX_FIELD_ALIGNMENT or something like that.

-- 
Daniel Jacobowitz
CodeSourcery


Re: unable to detect exception model

2006-06-25 Thread Richard Guenther

On 6/25/06, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote:

On Sun, Jun 25, 2006 at 07:59:14PM +0200, Richard Guenther wrote:
> pass?  What is MAX_ALIGNMENT on ppc-darwin?  It's defined as
>
> struct max_alignment {
>   char c;
>   union {
> HOST_WIDEST_INT i;
> long double d;
>   } u;
> };
>
> /* The biggest alignment required.  */
>
> #define MAX_ALIGNMENT (offsetof (struct max_alignment, u))

I learned while working on the zone collector that there is at least
one platform where this doesn't work, because "long double" had an
alignment of eight on its own and four as a structure field.  It might
have been powerpc-darwin.


Though that particular part of ggc-page is the same before and after
the patch.  Of course we may now get MAX_ALIGNMENT alignment
where we got MAX_ALIGNMENT*2 before.

Richard.


Re: unable to detect exception model

2006-06-25 Thread Eric Botcazou
> It would be nice if you can track down this some more, as I do not
> have access to ppc-darwin.

And to SPARC/Solaris 32-bit? :-)

/opt/build/eric/gcc/./gcc/xgcc -B/opt/build/eric/gcc/./gcc/ 
-B/opt/build/eric/local/gcc/sparc-sun-solaris2.7/bin/ 
-B/opt/build/eric/local/gcc/sparc-sun-solaris2.7/lib/ 
-isystem /opt/build/eric/local/gcc/sparc-sun-solaris2.7/include 
-isystem /opt/build/eric/local/gcc/sparc-sun-solaris2.7/sys-include -O2 -g  
-DIN_GCC-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -I. -I. -I/home/eric/svn/gcc/gcc 
-I/home/eric/svn/gcc/gcc/. -I/home/eric/svn/gcc/gcc/../include -I./../intl 
-I/home/eric/svn/gcc/gcc/../libcpp/include -I/opt/build/eric/local/include 
-I/opt/build/eric/local/include -I/home/eric/svn/gcc/gcc/../libdecnumber 
-I../libdecnumber  \
-c /home/eric/svn/gcc/gcc/config/sparc/gmon-sol2.c -o gmon.o
/home/eric/svn/gcc/gcc/config/sparc/gmon-sol2.c:1: internal compiler error: 
BusError
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [gmon.o] Error 1
gmake[3]: Leaving directory `/opt/build/eric/gcc/gcc'
gmake[2]: *** [all-stage2-gcc] Error 2
gmake[2]: Leaving directory `/opt/build/eric/gcc'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory `/opt/build/eric/gcc'
gmake: *** [all] Error 2

Reverting your patch makes it go away too.  I'll try and look into it 
tomorrow.

-- 
Eric Botcazou


Re: unable to detect exception model

2006-06-25 Thread Richard Guenther

On 6/25/06, Eric Botcazou <[EMAIL PROTECTED]> wrote:

> It would be nice if you can track down this some more, as I do not
> have access to ppc-darwin.

And to SPARC/Solaris 32-bit? :-)


No ;)  But I verified that i386-apple-darwin still works.  Also ppc-aix still
works.


/opt/build/eric/gcc/./gcc/xgcc -B/opt/build/eric/gcc/./gcc/
-B/opt/build/eric/local/gcc/sparc-sun-solaris2.7/bin/
-B/opt/build/eric/local/gcc/sparc-sun-solaris2.7/lib/
-isystem /opt/build/eric/local/gcc/sparc-sun-solaris2.7/include
-isystem /opt/build/eric/local/gcc/sparc-sun-solaris2.7/sys-include -O2 -g
-DIN_GCC-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -I. -I/home/eric/svn/gcc/gcc
-I/home/eric/svn/gcc/gcc/. -I/home/eric/svn/gcc/gcc/../include -I./../intl
-I/home/eric/svn/gcc/gcc/../libcpp/include -I/opt/build/eric/local/include
-I/opt/build/eric/local/include -I/home/eric/svn/gcc/gcc/../libdecnumber
-I../libdecnumber  \
-c /home/eric/svn/gcc/gcc/config/sparc/gmon-sol2.c -o gmon.o
/home/eric/svn/gcc/gcc/config/sparc/gmon-sol2.c:1: internal compiler error:
BusError
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [gmon.o] Error 1
gmake[3]: Leaving directory `/opt/build/eric/gcc/gcc'
gmake[2]: *** [all-stage2-gcc] Error 2
gmake[2]: Leaving directory `/opt/build/eric/gcc'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory `/opt/build/eric/gcc'
gmake: *** [all] Error 2

Reverting your patch makes it go away too.  I'll try and look into it
tomorrow.


At least this one looks "easier" to look at.  Is SPARC/Solaris a
strict alignment
target?

Richard.


Re: unable to detect exception model

2006-06-25 Thread Eric Botcazou
> At least this one looks "easier" to look at.  Is SPARC/Solaris a
> strict alignment target?

Yes, all SPARC targets are.

-- 
Eric Botcazou


Re: unable to detect exception model

2006-06-25 Thread Richard Guenther
On Sun, 25 Jun 2006, Eric Botcazou wrote:

> > At least this one looks "easier" to look at.  Is SPARC/Solaris a
> > strict alignment target?
> 
> Yes, all SPARC targets are.

So, something obviously wrong with

struct max_alignment {
 char c;
 union {
   HOST_WIDEST_INT i;
   long double d;
 } u;
};

/* The biggest alignment required.  */

#define MAX_ALIGNMENT (offsetof (struct max_alignment, u))

for SPARC 32bit?

Richard.

--
Richard Guenther <[EMAIL PROTECTED]>
Novell / SUSE Labs


Re: unable to detect exception model

2006-06-25 Thread Eric Botcazou
> So, something obviously wrong with
>
> struct max_alignment {
>  char c;
>  union {
>HOST_WIDEST_INT i;
>long double d;
>  } u;
> };
>
> /* The biggest alignment required.  */
>
> #define MAX_ALIGNMENT (offsetof (struct max_alignment, u))
>
> for SPARC 32bit?

I don't think so, the ABI says 8 in both cases.

Note that bootstrap doesn't fail on SPARC/Solaris 2.[56] and (presumably) 
SPARC/Linux, which have HOST_WIDE_INT == 32, whereas SPARC/Solaris 7+ have 
HOST_WIDE_INT == 64.  All are 32-bit compilers.

Bootstrap doesn't fail on SPARC64/Solaris 7+ either, for which the ABI says 16 
for the alignment in both cases.  They are 64-bit compilers.

-- 
Eric Botcazou


RE: RFC: __cxa_atexit for mingw32

2006-06-25 Thread Danny Smith
> From: Ranjit Mathew
> Sent: Sunday, June 25, 2006 1:28 PM
> Danny Smith wrote:
> > Adding a real __cxa_atexit to mingw runtime is of course also
> > possible, but I thought I'd attempt the easy options first.
> 
> When you say "runtime", do you mean libstdc++ or something like 
> libmingwex.a in "mingw-runtime"? If you mean the former, you can add 
> this in for GCC 4.2 and work on a real
> __cxa_atexit() for GCC 4.3, if you want.
>

A real __cxa_atexit solution needs to be integrated into the
"mingw-runtime". The initialization and finalization of the at-exit
tables needs to be handled by mainCRTStartup/DllMainCRTStartup and the C
runtime functions _onexit, atexit and possibly dllonexit need to
rewritten as wrappers around cxa_atexit.  As it turns out, that is
fairly simple: eg.,  the version of __cxa_atexit and friends that is in
the STLPort library translate to mingw quite easily with a few minor
tweaks to accomodate the win32 API.  And  integrating atexit/_onexit
into cxa_atexit is facilitated by the fact that the msvcrt versions of
these functions are exported only as "_imp__"   prefixed indirect
references, so that we can avoid getting mixed up with MS version of
these functions.I have tested all that with a basic single-threaded
implementation and no problems.

But that won't happen before 4.2 is released.  I don't know how
difficult it will be  to convince other mingw developers that this idea
is a good thing: replace an ISO standard-conformant and perfectly
adequate  atexit function already supplied by OS vendor with a new
version, perhaps with some licensing strings attached.  I expect the
fake cxa_atexit hack I illustrated earlier would meet less resistance,
and that is why I considered it the easier option.

Me?  The __cxa_atexit behaviour is documented.  AFAICT, the
msvcrt-specific behaviour of the atexit and dllonexit functions is not,
and was 'discovered' by a lot of trial and error. So, today, I'd prefer
to implement a real __cxa_atexit and point users to the ABI specs.  

Thanks for replying to this thread, Ranjit.  We'll see if any other
mingw developers read this list.

Danny
 
> Thanks,
> Ranjit.
> 
>



How can I remove articles posted under my name?

2006-06-25 Thread Alexander Verhaeghe
Hello,

As the title says, how can I remove articles posted
under my name "Alexander Verhaeghe" or e-mailaddress
"alexanderverhaeghe at yahoo dot com"

When I do a search in http://gcc.gnu.org/lists.html I
get 8 results which I would like to have removed,
espcially when they popup in the searchengines.

My next mail will be a list of e-mailaddresses that
don't work!


Regards,

Alexander Verhaeghe

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: How can I remove articles posted under my name?

2006-06-25 Thread Gerald Pfeifer
On Sun, 25 Jun 2006, Alexander Verhaeghe wrote:
> As the title says, how can I remove articles posted
> under my name "Alexander Verhaeghe" or e-mailaddress
> "alexanderverhaeghe at yahoo dot com"

You can't.

And by shot-gunning your request to 

  [EMAIL PROTECTED], 
  [EMAIL PROTECTED], 
  gcc@gcc.gnu.org, 
  [EMAIL PROTECTED] (which probably was ment to read gnu.org),
  [EMAIL PROTECTED], 
  [EMAIL PROTECTED], 
  [EMAIL PROTECTED], 
  [EMAIL PROTECTED], 
  [EMAIL PROTECTED]

you certainly aren't doing yourself a favor and, by the way, just 
generated another couple of hits in the archives.

Plus, even if we removed the message posted by you, there still
would me those where others responded and quoted from your original
message, and we definitely do not want to touch those.

Obviously, you have not bothered to read the footer we carefully put
on every single page at http://gcc.gnu.org, have you?

Gerald


Re: How can I remove articles posted under my name?

2006-06-25 Thread Steven Bosscher

On 6/26/06, Alexander Verhaeghe <[EMAIL PROTECTED]> wrote:

As the title says, how can I remove articles posted
under my name "Alexander Verhaeghe" or e-mailaddress
"alexanderverhaeghe at yahoo dot com"


You can not.

And it would not be very useful either, because all the lists you sent
mail to are archived in a lot more places than just gcc.gnu.org.

Sorry.

Gr.
Steven


Re: Boehm-gc performance data

2006-06-25 Thread Paulo J. Matos

On 25/06/06, Laurynas Biveinis <[EMAIL PROTECTED]> wrote:

2006/6/25, Paulo J. Matos <[EMAIL PROTECTED]>:
> > combine.c: top mem usage: 52180k (13915k). GC execution time 0.66
> > (0.61) 4% (4%). User running time: 0m16 (0m14).
> >
>
> How are you collecting top mem usage?

Sorry, that's not the top mem usage, but rather peak GC allocated
bytes. Determining them is easy from -Q output.



Ah, ok!


--
Laurynas




--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Re: How can I remove articles posted under my name?

2006-06-25 Thread tobias . schlueter


[ cutting down the CC list ]

Alexander Verhaeghe <[EMAIL PROTECTED]> wrote on Mon, 26 Jun 2006:

As the title says, how can I remove articles posted
under my name "Alexander Verhaeghe" or e-mailaddress
"alexanderverhaeghe at yahoo dot com"

When I do a search in http://gcc.gnu.org/lists.html I
get 8 results which I would like to have removed,
espcially when they popup in the searchengines.


You've just added another 2 to that list.  Had you not misspelled  
gnu.org once that would have been three.  Needless to say that these 2  
will be reproduced on several other list archives, including gmane.org  
which you found before.


Please stop spamming the lists with requests to be removed from the  
list archives hosted on gcc.gnu.org and other, unrelated sites.  As  
other people have pointed out to you, this is not going to happen  
(reg. my previous answers, I might add that I wasn't aware that  
there's a policy in place against this, but it makes a lot of sense),  
and the lists themselves are the wrong place to ask for this.  If you  
don't want your address published, this originally happened a year  
ago, when you originally posted to the list and only turning back time  
can revert this fact.  If you don't want unfavorably looking posts  
appearing in a google search of your name, you've not done yourself a  
favor with today's series of posts.


Sorry,
- Tobi



This message was sent using IMP, the Internet Messaging Program.




"Free as in Freedom"

2006-06-25 Thread Alexander Verhaeghe
"Free as in Freedom" in
http://www.gnu.org/home.html#ContactInfo

You're not even able to remove a couple of messages,
so how "free" am I now?
[EMAIL PROTECTED] wanted $300 for removal!
How "free" am I now? You should be ashamed of
yourselves!

Not only privacy is not respected, [EMAIL PROTECTED]
also threatened that more hits would be generated in
the archives, [EMAIL PROTECTED] shouldn't do that,
it's against privacy in case you didn't realize!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Question concerning shared libraries in non-standard locations

2006-06-25 Thread Paul Hilfinger

I have a situation (on Linux or Solaris, at least), in which I install
versions of GCC in non-standard directories (specifically, directories not
owned & operated by root).  With such an installation, when a GCC link
finds a definition of an external reference in a shared library that is
part of the .../lib subdirectory used by this installation, it treats the 
shared library as if it were also installed in one of the standard locations
known to the dynamic linker, and does NOT store the path to the directory
in which that library is found.  The result is that to run the linked
executable, one must either 

1. Add this non-standard directory to one's LD_LIBRARY_PATH, or
2. Remember to include the appropriate -W,l-R option or whatever in
   and every compilation.

For C programs, this is seldom an issue, although it can be if one uses
-shared-libgcc.  It's more problematic with G++, where a simple 
Hello World program that uses iostream requires this special treatment.

Of course, I could just install everything in a standard location, but I
keep several versions of GCC around, so that is not the best solution.

Besides which, as a DEFAULT behavior, this strikes me as odd---linking
against a standard shared library that the compiler (in principle)
KNOWS will likely be unavailable or incompatible at execution.  Of
course, it's easy to come up with cases where you really want to make
sure that the runtime link is satisfied from some standard location,
so the current behavior has to be supported, but isn't it a little odd
as a default?

Comments and instructions as to how to configure my local GCC builds to 
do what I want by default (which in this case means recording the path to
the non-standard library in the executables) welcome.  Thanks.

Paul Hilfinger


Re: "Free as in Freedom"

2006-06-25 Thread Jan-Benedict Glaw
On Sun, 2006-06-25 16:44:22 -0700, Alexander Verhaeghe <[EMAIL PROTECTED]> 
wrote:
> Not only privacy is not respected, [EMAIL PROTECTED]
> also threatened that more hits would be generated in
> the archives, [EMAIL PROTECTED] shouldn't do that,
> it's against privacy in case you didn't realize!

This is the internet. It's where people work together and share data.
If you want to do that in private, use a VPN. If you want to be in
private, just don't post emails to publically archived mailing lists.

That's not hard, but it's too late right now. You've done that
"mistake" and you cannot turn back time.

So please shut up now.

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
"Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: "Free as in Freedom"

2006-06-25 Thread Alexander Verhaeghe
Quote Jan-Benedict Glaw "So please shut up now."

Quite friendly I must say, it's the german way I
suppose of handling things?

To Jan-Benedict Glaw I WON'T SHUT UP because of "Free
as in Freedom"!

--- Jan-Benedict Glaw <[EMAIL PROTECTED]> wrote:

> On Sun, 2006-06-25 16:44:22 -0700, Alexander
> Verhaeghe <[EMAIL PROTECTED]> wrote:
> > Not only privacy is not respected,
> [EMAIL PROTECTED]
> > also threatened that more hits would be generated
> in
> > the archives, [EMAIL PROTECTED] shouldn't do
> that,
> > it's against privacy in case you didn't realize!
> 
> This is the internet. It's where people work
> together and share data.
> If you want to do that in private, use a VPN. If you
> want to be in
> private, just don't post emails to publically
> archived mailing lists.
> 
> That's not hard, but it's too late right now. You've
> done that
> "mistake" and you cannot turn back time.
> 
> So please shut up now.
> 
> MfG, JBG
> 
> -- 
> Jan-Benedict Glaw   [EMAIL PROTECTED].
> +49-172-7608481 _ O _
> "Eine Freie Meinung in  einem Freien Kopf| Gegen
> Zensur | Gegen Krieg  _ _ O
>  für einen Freien Staat voll Freier Bürger"  | im
> Internet! |   im Irak!   O O O
> ret = do_actions((curr | FREE_SPEECH) &
> ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: RFC: __cxa_atexit for mingw32

2006-06-25 Thread Brian Dessent
Danny Smith wrote:

> is a good thing: replace an ISO standard-conformant and perfectly
> adequate  atexit function already supplied by OS vendor with a new
> version, perhaps with some licensing strings attached.  I expect the
> fake cxa_atexit hack I illustrated earlier would meet less resistance,
> and that is why I considered it the easier option.

This change would be contained in crt?.o & dllcrt?.o, no?  So that would
mean it would get statically linked, with no additional runtime
dependency.  Assuming it was licensed the same way as the rest of the
existing CRT startup code, I don't see how anyone could complain.  It
would give us proper __cxa_atexit support for essentially free.

Brian


Re: "Free as in Freedom"

2006-06-25 Thread Alexander Verhaeghe
Always threatening, you're even worse than
Microsoft...
Once again "Free as in Freedom", how dare you to use
this? Please don't forget to mention that you want to
rip me off $300!

--- Robert Dewar <[EMAIL PROTECTED]> wrote:

> Alexander Verhaeghe wrote:
> > Quote Jan-Benedict Glaw "So please shut up now."
> > 
> > Quite friendly I must say, it's the german way I
> > suppose of handling things?
> > 
> > To Jan-Benedict Glaw I WON'T SHUT UP because of
> "Free
> > as in Freedom"!
> 
> If I googled on your name and found this sort of
> absurd post, I would form conclusions right away.
> People will see these quotes for ever, they are
> not going away, they will follow you everywhere,
> is this what you want?
> 
> Do you not understand that it is technically
> impossible
> to remove those posts, there are thousands of copies
> of
> this all over the net. By posting to this list, you
> gave consent to this massing reproduction of what
> you
> wrote, and it cannot be undone.
> 
> Free as in freedom does not allow you to insist on
> other
> people removing your messages, and the idea that it
> violates privacy rules to refuse is absurd. On the
> contrary the operation of freedom here is that
> anyone
> anywhere has the ability and right to copy your
> posts,
> and thousands of people have already taken advantage
> of
> this permission that you gave by posting in the
> first place.
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: "Free as in Freedom"

2006-06-25 Thread Christopher Faylor
On Sun, Jun 25, 2006 at 05:02:41PM -0700, Alexander Verhaeghe wrote:
>Quote Jan-Benedict Glaw "So please shut up now."
>
>Quite friendly I must say, it's the german way I suppose of handling
>things?
>
>To Jan-Benedict Glaw I WON'T SHUT UP because of "Free as in Freedom"!

However, you have been told quite clearly what the site policy is.  None
of the mailing lists at gcc.gnu.org are intended to be rant lists so you
really do have to stop sending this type of email since it is off-topic
for every list that you are using.

If you can't stop yourself, then steps will be taken to block you from
sending email here.


Re: "Free as in Freedom"

2006-06-25 Thread Jan-Benedict Glaw
On Sun, 2006-06-25 17:02:41 -0700, Alexander Verhaeghe <[EMAIL PROTECTED]> 
wrote:
> To Jan-Benedict Glaw I WON'T SHUT UP because of "Free
> as in Freedom"!

Ah, so your understanding of "Freedom" reads like:

   Okay guys, I've sent out some rude emails insulting you a bit about
   your fortran stuff and all. I've put that into publically archived
   mailing lists and I just ignored the fact of "publically archived."
   Well, it seems to fuck up by bio and because of me being lame,
   please waste your time to search the archives for my name and drop
   them all, maybe even including replys etc.

My reading of Freedom is more like:

   Heya, your mailing list archive sux because you cannot easily find
   a people's attitude there. I've taken all the HTML stuff and made
   it useful. With a single click, you can now find out if a person is
   only a lame guy not reading sources or documentation, yelling about
   it's inabilities and not doing any community work.

See the difference? "Freedom", as we see it, is the right to
participate, not the right to let others work for you. But you'll
learn that the other day.

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
"Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


Re: "Free as in Freedom"

2006-06-25 Thread Steve Kargl
On Sun, Jun 25, 2006 at 05:16:37PM -0700, Alexander Verhaeghe wrote:
> Always threatening, you're even worse than
> Microsoft...
> Once again "Free as in Freedom", how dare you to use
> this? Please don't forget to mention that you want to
> rip me off $300!
> 

Alexander the email you requested removed at this link

http://blog.gmane.org/gmane.comp.gcc.fortran/day=20050926#

was written by me.  You have no right to ask for my post
to be removed.  In viewing the above link, you will find

"On Sun, Sep 25, 2005 at 04:21:19PM -0700, Alexander Verhaeghe wrote:"

There is no email address at that link.

It is however interesting to read your posts to Lahey and
Microsoft forums.  

I suspect your recent spat of postings here has earned
you many killfile entries.  

-- 
Steve


Re: "Free as in Freedom"

2006-06-25 Thread Alexander Verhaeghe
"It is of course not a threat to point out that
anything you post here will be permanently
associated with your name for ever, and that
there is no way to undo this. This is just a
statement of fact."

There is always a way of undoing things, it's simply a
matter if you want to do so or not, and in this case
clearly not. I don't see any reason why this
conversation will be listed by just mailing a couple
e-mailaddresses which I contacted before numerous
times and no one responded for the simple reason they
don't want to. Just delete all e-mailaddresses and
state clearly that once posted it can not be undone. 

I'm almost sure that your practices are against the
laws of privacy. Tomorrow I will check this out, as a
matter of fact I already did. You have no right to
publish things without permission. If all this crap is
ever to be published, no one will believe, gnu.org is
simply making itself ridiculous by publishing this.

I just got another mail from Christopher Faylor, which
"threatens" to block me from sending mail, why not,
once again so much freedom...
There isn't even freedom of speech here.
Do I continue until I'm blocked?

--- Robert Dewar <[EMAIL PROTECTED]> wrote:

> I did not mean my message at all as a threat, but
> just as some helpful advice. Note that it was sent
> only to you, not to the list. It is normally not a
> good idea to post such private messages to a public
> list without permission (and may indeed violate
> copyright, though that's not clear). For sure it is
> a violation of netiquette, so you add that to your
> record here.
> 
> I respond to the list here just to make it clear
> that I did not post the message to the list.
> 
> It is of course not a threat to point out that
> anything you post here will be permanently
> associated with your name for ever, and that
> there is no way to undo this. This is just a
> statement of fact.
> 
> In our modern day and age, people will often google
> a name to find out more about someone, and when they
> do that, all your old posts will appear. Again,
> that's
> not a threat, just a statement of a fact that should
> be clear to anyone posting on any list.
> 
> Alexander Verhaeghe wrote:
> > Go ahead threatening people, it's all what you
> > accomplished so far! You say "Are you really
> sure", I
> > don't even have the chance to say yes or no, so
> much
> > freedom!
> > 
> > That e-mail of $300 I will keep just in case...
> > 
> > --- Robert Dewar <[EMAIL PROTECTED]> wrote:
> > 
> >> Are you really sure you want the below message to
> be
> >> permanently associated with your name, it is now
> ..
> >> and this association can never be removed. I
> think
> >> you should think before posting any more messages
> >> that will follow you around.
> >>
> >> Alexander Verhaeghe wrote:
> >>> "Free as in Freedom" in
> >>> http://www.gnu.org/home.html#ContactInfo
> >>>
> >>> You're not even able to remove a couple of
> >> messages,
> >>> so how "free" am I now?
> >>> [EMAIL PROTECTED] wanted $300 for removal!
> >>> How "free" am I now? You should be ashamed of
> >>> yourselves!
> >>>
> >>> Not only privacy is not respected,
> >> [EMAIL PROTECTED]
> >>> also threatened that more hits would be
> generated
> >> in
> >>> the archives, [EMAIL PROTECTED] shouldn't do
> >> that,
> >>> it's against privacy in case you didn't realize!
> >>>
> >>>
> __
> >>> Do You Yahoo!?
> >>> Tired of spam?  Yahoo! Mail has the best spam
> >> protection around 
> >>> http://mail.yahoo.com 
> >>
> >>
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> 
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: "Free as in Freedom"

2006-06-25 Thread Alexander Verhaeghe
Please tell me where I can read this "spat of
postings" so that I can evaluate them. I guess I have
to change emailaddress (not difficult) and name (more
difficult) after this stuff. I never typed so much in
a short time!

--- Steve Kargl <[EMAIL PROTECTED]>
wrote:

> On Sun, Jun 25, 2006 at 05:16:37PM -0700, Alexander
> Verhaeghe wrote:
> > Always threatening, you're even worse than
> > Microsoft...
> > Once again "Free as in Freedom", how dare you to
> use
> > this? Please don't forget to mention that you want
> to
> > rip me off $300!
> > 
> 
> Alexander the email you requested removed at this
> link
> 
>
http://blog.gmane.org/gmane.comp.gcc.fortran/day=20050926#
> 
> was written by me.  You have no right to ask for my
> post
> to be removed.  In viewing the above link, you will
> find
> 
> "On Sun, Sep 25, 2005 at 04:21:19PM -0700, Alexander
> Verhaeghe wrote:"
> 
> There is no email address at that link.
> 
> It is however interesting to read your posts to
> Lahey and
> Microsoft forums.  
> 
> I suspect your recent spat of postings here has
> earned
> you many killfile entries.  
> 
> -- 
> Steve
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: "Free as in Freedom"

2006-06-25 Thread Robert Dewar

Alexander Verhaeghe wrote:

Always threatening, you're even worse than
Microsoft...
Once again "Free as in Freedom", how dare you to use
this? Please don't forget to mention that you want to
rip me off $300!


First of all, again you are quoting my private
messages.

Second, the $300 has nothing to do with me, though
I see no objection to people charging for work you
ask them to do on your behalf.

Third, can't you get it through your head that
no threats are involved here, just some very
basic statements of facts. You seem to be unaware
of these facts as was clear from your initial post.

This is certainly off-topic noise but on the other
hand perhaps it is instructive to any others
following this list who may be sharing the same
misconceptions as Alexander.

Anyway, I am killing this thread now, and apologies
to anyone annoyed by these messages. In both the
last two cases, I made the mistake of sending
private advice to Alexander, clearly something
that is not helpful in this situation.


--- Robert Dewar <[EMAIL PROTECTED]> wrote:


Alexander Verhaeghe wrote:

Quote Jan-Benedict Glaw "So please shut up now."

Quite friendly I must say, it's the german way I
suppose of handling things?

To Jan-Benedict Glaw I WON'T SHUT UP because of

"Free

as in Freedom"!

If I googled on your name and found this sort of
absurd post, I would form conclusions right away.
People will see these quotes for ever, they are
not going away, they will follow you everywhere,
is this what you want?

Do you not understand that it is technically
impossible
to remove those posts, there are thousands of copies
of
this all over the net. By posting to this list, you
gave consent to this massing reproduction of what
you
wrote, and it cannot be undone.

Free as in freedom does not allow you to insist on
other
people removing your messages, and the idea that it
violates privacy rules to refuse is absurd. On the
contrary the operation of freedom here is that
anyone
anywhere has the ability and right to copy your
posts,
and thousands of people have already taken advantage
of
this permission that you gave by posting in the
first place.





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





Re: "Free as in Freedom"

2006-06-25 Thread Steve Kargl
On Sun, Jun 25, 2006 at 05:43:41PM -0700, Alexander Verhaeghe wrote:
> Please tell me where I can read this "spat of
> postings" so that I can evaluate them. I guess I have
> to change emailaddress (not difficult) and name (more
> difficult) after this stuff. I never typed so much in
> a short time!
> 

Well, to start with you can go to 

http://gcc.gnu.org/ml/fortran/2006-06/

Look for post by "Alexander Verhaeghe".  These posts will
soon be mirrored.  Your google hits are going up.

-- 
Steve


ADMINISTRIVIA about Re: "Free as in Freedom"

2006-06-25 Thread Christopher Faylor
I thought I should point out that this thread has hit the "too many recipients"
spam blocking rule at gcc.gnu.org so there are a number of messages from various
people (but mostly from Alexander) which are not making it to the mailing list.

cgf


Re: unable to detect exception model

2006-06-25 Thread Seongbae Park

On 6/25/06, Eric Botcazou <[EMAIL PROTECTED]> wrote:

> So, something obviously wrong with
>
> struct max_alignment {
>  char c;
>  union {
>HOST_WIDEST_INT i;
>long double d;
>  } u;
> };
>
> /* The biggest alignment required.  */
>
> #define MAX_ALIGNMENT (offsetof (struct max_alignment, u))
>
> for SPARC 32bit?

I don't think so, the ABI says 8 in both cases.

Note that bootstrap doesn't fail on SPARC/Solaris 2.[56] and (presumably)
SPARC/Linux, which have HOST_WIDE_INT == 32, whereas SPARC/Solaris 7+ have
HOST_WIDE_INT == 64.  All are 32-bit compilers.

Bootstrap doesn't fail on SPARC64/Solaris 7+ either, for which the ABI says 16
for the alignment in both cases.  They are 64-bit compilers.


SPARC psABI3.0 (32bit version) defines long double as 8 byte aligned.
SCD4.2, 64bit version, defines long double as 16 byte aligned with some caveat
(which essentially says long double can be 8-byte aligned in some cases
- fortran common block case - but the compiler should assume
16-byte unless it can prove otherwise).
On 32bit ABI, there's also a possiblity of "double"s being only 4-byte aligned
when a double is passed on the stack.

I don't know enough about gcc's gc to know whether the above can trip it over,
but the memory allocation (malloc and the likes) shouldn't be a
problem as long as
it returns 8-byte aligned block on 32bit and 16-byte aligned on 64bit.
--
#pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com";


Re: Question concerning shared libraries in non-standard locations

2006-06-25 Thread Albert Chin
On Sun, Jun 25, 2006 at 07:47:52PM -0400, Paul Hilfinger wrote:
> 
> I have a situation (on Linux or Solaris, at least), in which I
> install versions of GCC in non-standard directories (specifically,
> directories not owned & operated by root).  With such an
> installation, when a GCC link finds a definition of an external
> reference in a shared library that is part of the .../lib
> subdirectory used by this installation, it treats the shared library
> as if it were also installed in one of the standard locations known
> to the dynamic linker, and does NOT store the path to the directory
> in which that library is found.  The result is that to run the
> linked executable, one must either 

So you simply want the RPATH entry in the executable created by "gcc
-o foo foo.c" to contain an entry to locate libgcc.so and
libstdc++.so?

You can modify the specs file to _automatically_ add the -R/-Wl,-rpath
when linking. Below is a possible patch for the GCC 4.0.2 specs file
to accomplish it for Solaris. Linux is handled in a similar way.

-- 
albert chin ([EMAIL PROTECTED])

-- snip snip
--- specs.orig  Sun Jun 25 23:30:01 2006
+++ specs   Fri Oct 21 00:05:58 2005
@@ -173,6 +173,12 @@
 *link_arch:
 %{m32:%(link_arch32)} %{m64:%(link_arch64)} 
%{!m32:%{!m64:%(link_arch_default)}} 
 
+*rpath:
+-R[gcc library path]
+
+*rpath64:
+-R[gcc library path]/sparcv9
+
 *link_command:
-%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:%(linker) %l %{pie:} %X %{o*} 
%{A} %{d} %{e*} %{m} %{N} %{n} %{r}%{s} %{t} %{u*} %{x} %{z} %{Z} 
%{!A:%{!nostdlib:%{!nostartfiles:%S}}}%{static:} %{L*} %(mfwrap) 
%(link_libgcc) %o %(mflib)%{fprofile-arcs|fprofile-generate:-lgcov}
%{!nostdlib:%{!nodefaultlibs:%(link_gcc_c_sequence)}}
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}
+%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:%(linker) %l %{pie:} %X %{o*} 
%{A} %{d} %{e*} %{m} %{N} %{n} %{r}%{s} %{t} %{u*} %{x} %{z} %{Z} 
%{!A:%{!nostdlib:%{!nostartfiles:%S}}}%{static:} %{L*} %(mfwrap) 
%(link_libgcc) %o %(mflib)%{fprofile-arcs|fprofile-generate:-lgcov}
%{!nostdlib:%{!nodefaultlibs:%{!m64:%(rpath)} %{m64:%(rpath64)} 
%(link_gcc_c_sequence)}}%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}