This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem building libsdc++-v3 in a cross compile environment (zSeries, PPC64)
On Fri, Oct 24, 2003 at 08:48:59AM +0200, Hartmut Penner wrote:
> Yes, forgot to put ld64.so.1 in cross library. With ld64.so.1 in place
> everything works.
Great!
> >> checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc static flag -static
> works... no
>
> > Hmm, that's odd, it worked earlier.
>
> ltconfig:758: /home/hp/gnu/gcc-head-s390x/gcc/xgcc -shared-libgcc
> -B/home/hp/gnu/gcc-head-s390x/gcc/ -nostdinc++
> -L/home/hp/gnu/gcc-head-s390x/s390x-ibm-linux/libstdc++-v3/src
> -L/home/hp/gnu/gcc-head-s390x/s390x-ibm-linux/libstdc++-v3/src/.libs
> -B/usr/local/s390x-ibm-linux/bin/ -B/usr/local/s390x-ibm-linux/lib/
> -isystem /usr/local/s390x-ibm-linux/include
> -isystem /usr/local/s390x-ibm-linux/sys-include -o conftest
> -g -O2 -D_GNU_SOURCE -O2 -g -O2 -static conftest.cc 1>&5
> /tmp/cceqt236.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
> collect2: ld returned 1 exit status
>
> S/390 emits an eh_frame section with a reference to __gxx_personality_v0,
> even
> for dummy program, which is different to for example x86.
> We will look into that.
Is this -fasynchronous-unwind-table (spelling?) at work? Probably just
a harmless configury problem.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer