Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Marcin Dalecki
During a build attempt of gcc-20051001 and more secnt on darwin 10.8 I have discovered that apparently for some unknown reason make_exports.pl get's called during th libstdc++ build and fails miserably: > libstdc++-symbol.explist || (rm -f libstdc++-symbol.explist ; exit 1) nm -P .libs/b

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Marcin Dalecki
On 2005-10-02, at 23:45, Paolo Bonzini wrote: 2) Why do you think that symbol versioning is exclusive to glibc? I don't. I look at the the results of it. 3) You can of course think that glibc is evil, but how is it related? Oh no... I got just immersed by the GLIBCXX prefixing over there

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Paolo Bonzini
I see more trolling than bug reporting here. This macros get's set according to acinclude.m4 in libstdc++ for builds which utilize the glibc. Heck? What's the purpose here? Fortunately there is no such thing as the glibc on this system at all. Looking at the m4 macro I can't quite see how

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Andrew Pinski
> > 6) Is this whining reporting significant information, for the > > person that wants to fix the bug? > > Well on the system in question ppc-apple-darwin-7.8.0 the perl script > in question simply doesn't work. Since there doesn't appear to be > much in the way of it inside acinclude.m4 it

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Marcin Dalecki
On 2005-10-03, at 00:26, Andrew Pinski wrote: 6) Is this whining reporting significant information, for the person that wants to fix the bug? Well on the system in question ppc-apple-darwin-7.8.0 the perl script in question simply doesn't work. Since there doesn't appear to be much in the wa

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Shantonu Sen
You're making a lot of terrible assumptions and drawing several incorrect conclusions. xnu-792 is not the same as "darwin7.9.2", and no configure script in the last 6 years should be detecting a Mac OS X system as "ppc-apple-darwin" (it should be "powerpc-apple-darwin"). What is the output

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Marcin Dalecki
On 2005-10-03, at 00:42, Marcin Dalecki wrote: I'm not quite sure if this is correct since guessing the GCC version interpretation here I would expect this to came out as: ppc-apple-darwin7.9.2 aka: Tiger darwin 10.4.2 Trying to find out where the actual name mangling occured I have fou

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Marcin Dalecki
On 2005-10-03, at 00:49, Shantonu Sen wrote: You're making a lot of terrible assumptions and drawing several incorrect conclusions. xnu-792 is not the same as "darwin7.9.2", and no configure script in the last 6 years should be detecting a Mac OS X system as "ppc-apple-darwin" (it should b

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Marcin Dalecki
On 2005-10-03, at 00:26, Andrew Pinski wrote: This perl script works just fine for me on powerpc-darwin7.9.0 I don't see why are we piping the output to nm when it should be piping nm's output to c++filt. Also this perl script works fine on powerpc-darwin7.4.0 also. Turns out it was rpm

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-02 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcin Dalecki wrote: | | On 2005-10-03, at 00:26, Andrew Pinski wrote: | |> |> This perl script works just fine for me on powerpc-darwin7.9.0 I don't |> see why are we piping the output to nm when it should be piping nm's |> output to c++filt. |> |

Re: Fishy build system: make_exports.pl called on darwin?

2005-10-03 Thread Marcin Dalecki
On 2005-10-03, at 06:05, Peter O'Gorman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcin Dalecki wrote: | | On 2005-10-03, at 00:26, Andrew Pinski wrote: | |> |> This perl script works just fine for me on powerpc-darwin7.9.0 I don't |> see why are we piping the output to nm when