This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Anyone got irix5? I have questions about your ctype implementation
> From: Alexandre Oliva <aoliva@redhat.com>
>
> On May 3, 2002, "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:
>
> > 6. Can't build libf2c on irix6.2 due to a 32/64 multilib problem
> > which has been there since Nov when it was converted to libtool.
> > No solution yet.
>
> I believe Eric Christopher and I came up with a solution for this one,
> that's already in, AFAIK. Do you still observe the problem?
Yes I still see it. A checkout of the 3.1 branch from this evening
still has the failure. It occurs in the -mabi=64 multilib when
creating libg2c.
> make[5]: Entering directory `/caip/u99/ghazi/gcc-testing/build/mips-sgi-irix6.2/mabi=64/libf2c'
> /bin/ksh ./libtool --mode=link /var/tmp/gcc-testing/build/gcc/xgcc
> -B/var/tmp/gcc-testing/build/gcc/ -B/usr/local/mips-sgi-irix6.2/bin/
> -B/usr/local/mips-sgi-irix6.2/lib/ -isystem
> /usr/local/mips-sgi-irix6.2/include -o libg2c.la \
> -version-info 0:0:0 \
> -rpath /usr/local/lib/mabi=64 \
> -objectlist s-libe77 \
> -objectlist s-libf77 \
> -objectlist s-libi77 \
> -objectlist s-libu77 \
> -lm
> mkdir .libs
> creating reloadable object files...
> creating a temporary reloadable object file: .libs/libg2c.la-2.o
> /usr/bin/ld -n32 -64 -r -o .libs/libg2c.la-1.o libE77/.libs/Labort.o
> libE77/.libs/Lderf.o libE77/.libs/Lderfc.o [tons more .o files...]
> ld64: ERROR 4: Conflicting flag setting: -32-set-32bit-path
> ld64: FATAL 112: cannot link old 32-bit object with -n32 link:
> libE77/.libs/Labort.o.
> make[5]: *** [libg2c.la] Error 4
Using `file' I verified all of the .o files are 64-bit. So its
probably complaining about the "ld -n32 -64" mixture. I'm not sure
why it does that. Note libstdc++-v3 and libobjc build fine. I'm not
sure what's different.
Can you please help? :-)
Thanks,
--Kaveh
--
Kaveh R. Ghazi Director of Systems Architecture
ghazi@caip.rutgers.edu Qwest Global Services