2011/9/14 Jonathan Craig <[email protected]>: > 2011/9/13 Maciej (Matchek) Bliziński <[email protected]>: >> gcc-4.6.1 is already installed on the buildfarm. Has anyone built any >> packages with it? If there are any problems, please report them. We need to >> test the gcc packages before we push them to dublin. >> >> If you make any successful builds, pkease report them too - it is good to >> receive positive feedback as well. >> > > Not sure if this is related but I'm in the middle of a project at work > where a install of ruby gem fastthread succeeds on a box with gcc > 4.3.3 and fails on another box with gcc 4.6.1. > > 4.3.3 host: > /opt/csw/gcc4/bin/gcc -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.9 > -I/opt/csw/lib/ruby/1.8/i386-solaris2.9 -I. -I/opt/csw/include > -D_FILE_OFFSET_BITS=64 -fPIC -mtune=i686 -O2 -pipe -m32 -march=i386 > -fPIC -c fastthread.c > > 4.6.6 host: > /opt/csw/gcc4/bin/gcc -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.9 > -I/opt/csw/lib/ruby/1.8/i386-solaris2.9 -I. -I/opt/csw/include > -D_FILE_OFFSET_BITS=64 -fPIC -mtune=i686 -O2 -pipe -m32 -march=i386 > -fPIC -c fastthread.c > In file included from fastthread.c:12:0: > /opt/csw/lib/ruby/1.8/i386-solaris2.9/ruby.h:40:21: fatal error: > stdlib.h: No such file or directory > compilation terminated. > make: *** [fastthread.o] Error 1
Can you truss the compiler (with -f to also monitor its children) to see what files it tries to open? One guess would be is that it tries to open stdlib.h from the 4.3.3 installation. Maciej _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
