> On Wed, Jul 27, 2005 at 03:51:31PM -0700, Helmar
> Wodtke wrote:
> 
> > But another thing (since I see you are here and I
> remember it): you
> > made a gcc compilation for OpenSolaris? I found
> your name in an
> 
> Yes.  I built the compiler that can build ON, and did
> some of the ON
> work to make that happen.
> 
> > error message while compiling something (c++ stuff)
> - hint: probably
> > it's better to compile gcc in a chroot environment
> with every path
> > set to it's final destination. Really, I had to do
> a "ln -s /opt
> > /builds/wesolows/x86" to make it work...
> 
> That's interesting, since (a) the paths *are* set to
> their final
> values except for install prefixes (which aren't
> important since gcc
> 2.x), and (b) I use the compiler on systems which do
> not have that
> path at all.  Could you give the exact error message,
> please?

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

I use a special build directory and a special destination for the files 
/aton2/BUILD/... and /usr/aton2/...

Gruesse,
Helmar
[EMAIL PROTECTED]



> As an aside, we're thinking about what to set gcc's
> --with-local-prefix to.  We don't want it to contain
> any (readable)
> files, especially ones that might be headers, but if
> it's a path that
> might be NFS that's bad too since it might not be
> available.  My
> (slightly tongue-in-cheek) suggestion was /proc/1.
> 
> And, again, sigh, replies to tools-discuss.
> 
> -- 
> Keith M Wesolowski            "Sir, we're surrounded!" 
> Solaris Kernel Team           "Excellent; we can attack in any
> direction!" 
> _______________________________________________
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to