On Wed, Jul 27, 2005 at 04:39:17PM -0700, Helmar Wodtke wrote:
[Reply-To seems not to be working; this really belongs on tools-gcc
and I've cc'd that list - please remove -discuss from replies]
> It's while compiling glibmm (recent version):
>
> ......
> /bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -Wall
> -Wno-long-long -o libglibmm_generate_extra_defs-2.4.la -rpath
> /usr/aton2/lib -version-info 1:14:0 generate_extra_defs.lo -L/usr/aton2/lib
> -lsigc-2.0 -lglib-2.0 -lgobject-2.0 -lgmodule-2.0 -L/usr/aton2/lib
> -lsigc-2.0 -lglib-2.0 -lgobject-2.0 -lgmodule-2.0
> grep: can't open /builds/wesolows/x86/gcc-3.4.3/lib/libstdc++.la
> Can't open /builds/wesolows/x86/gcc-3.4.3/lib/libstdc++.la
> libtool: link: `/builds/wesolows/x86/gcc-3.4.3/lib/libstdc++.la' is not a
> valid libtool archive
> make[6]: *** [libglibmm_generate_extra_defs-2.4.la] Error 1
> make[6]: Leaving directory `/aton2/BUILD/glibmm-2.7.2/tools/extra_defs_gen'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/aton2/BUILD/glibmm-2.7.2/tools'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/aton2/BUILD/glibmm-2.7.2'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/aton2/BUILD/glibmm-2.7.2'
> make[2]: *** [glibmm] Error 1
> make[2]: Leaving directory `/aton2'
> make[1]: *** [DONE/glibmm] Error 2
> make[1]: Leaving directory `/aton2'
> make: *** [glibmm] Error 2
This has to be a libtool bug. When I ask gcc where libstdc++.la
lives, I get:
[EMAIL PROTECTED]:/builds/wesolows $ /tonic/gcc-tools/i386/gcc-3.4.3/bin/gcc
--print-file-name=libstdc++.la
/tonic/gcc-tools/i386/gcc-3.4.3/bin/../lib/gcc/i386-pc-solaris2.10.1/3.4.3/../../../libstdc++.la
which happens to be where I've installed the compiler (and the file's
there). I can't get it to print /builds/wesolows/anything.
Nevertheless, the compiler that will ship with {Open,}Solaris (and the
one which does currently ship with Solaris) won't have this problem.
I'll also produce a new compiler with the next drop. In the meantime,
please use /usr/sfw/bin/gcc and file a bug against libtool. My
apologies for the trouble.
--
Keith M Wesolowski "Sir, we're surrounded!"
Solaris Kernel Team "Excellent; we can attack in any direction!"
_______________________________________________
opensolaris-discuss mailing list
[email protected]