Jack, Dominique,

I think we have two issues here - let's make sure we don't derail dealing with 
the first one.

On 8 Nov 2014, at 22:08, Jack Howarth wrote:

>    That is curious. I wouldn't have thought that the compiler
> selection would have had such a radical effect on the linkage flags
> emitted for the build directories.
>              Jack
> 
> 
> On Sat, Nov 8, 2014 at 4:59 PM, Dominique d'Humières <domi...@lps.ens.fr> 
> wrote:
>> 
>>> Le 8 nov. 2014 à 22:55, Jack Howarth <howarth.at....@gmail.com> a écrit :
>>> 
>>> Iain,
>>>    Any idea why this isn't failing universally? On all of the
>>> machines tested here with 'make bootstrap', the linkage of libcc1.so
>>> finds
>>> the necessary libstdc++ from the set of flags...
>>> 
>>> -L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libstdc++-v3/src
>>> -L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libstdc++-v3/src/.libs
>>> -L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libstdc++-v3/libsupc++/.libs
>>> 
>>> as I posted earlier in this thread. Why wouldn't Dominique be getting
>>> those emitted in his build and shouldn't they suffice?
>>>         Jack
>> 
>> Because you bootstrap with clang (I confirm it) while I am bootstrapping 
>> with gcc 4.9 for Ada.

We all agree that it's not obvious that the bootstrap compiler should make any 
difference to this.

Looking at the logs for my trunk build from last night:
 * x86_64-darwin12
 * bootstrap compiler = gcc-4.9
 * trunk checkout 217252
 * with alias fix for ipa-icf
 * with a temporary mod to put -B options for libstdc++ and libsupc++ for 
libcc1.
 * all langs including objc++, java and Ada.

- The [libcc1] config is using the stage#3 compiler (according to 
libcc1/config.log)
- The [libcc1] build is using the stage#3 compiler as far as my build logs 
record.
- my stage3 gcc/auto-host.h does not differ in any material way from the 
stage1-gcc/suto-host.h

So I think we need to do some analysis; in particular, the config and build 
logs for libcc1 when clang is the bootstrap compiler.  Let's take this off-list 
and raise a PR if we find a separate problem.

====

As for the initial reported problem here, my analysis remains the same - we 
need to provide "-B" options for the libraries that are mentioned, so that spec 
substitutution works.

Iain

Reply via email to