tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC 5.x and ia64 and MKMAINTAINERTOOLS failing



matthew green <mrg%eterna.com.au@localhost> writes:

> OK, ia64 should be able to build a GCC 5 world now.
>
> please check my change to ia64/include/mcontext.h.  i'm not overly
> confident it's correct.
>

I think it should be iip instead of rp:

 #define	_UC_MACHINE_PC(uc)	((uc)->uc_mcontext.mc_special.iip)

but it fine to leave for now if you don't want to bother.  We still need
__gregs, __fpregs, and a bunch of other things in that file anyway.

So building release with my local changes
  build.sh -V HAVE_GCC=53 -V HAVE_BINUTILS=226 -V HAVE_GDB=710 -U -m ia64 release
gets a lot farther, but I am now getting a link error for some floating
functions with these new tools (the old tools built fine):

[snipped...]
#   compile  eqn/special.o
/home/scole/nbsd/src/obj/tooldir.NetBSD-7.0.1_PATCH-i386/bin/ia64--netbsd-c++ -frandom-seed=3072d95c -O2 -Werror -fno-rtti -fno-exceptions  --sysroot=/home/scole/nbsd/src/obj/destdir.ia64 -DHAVE_CONFIG_H -I/home/scole/nbsd/src/external/gpl2/groff/include -I/home/scole/nbsd/src/external/gpl2/groff/dist/src/include -I/home/scole/nbsd/src/external/gpl2/groff/dist/src/preproc/eqn -I.  -c    /home/scole/nbsd/src/external/gpl2/groff/dist/src/preproc/eqn/special.cpp
#      link  eqn/eqn
/home/scole/nbsd/src/obj/tooldir.NetBSD-7.0.1_PATCH-i386/bin/ia64--netbsd-c++    --sysroot=/home/scole/nbsd/src/obj/destdir.ia64     -o eqn  main.o lex.o eqn.o box.o limit.o list.o over.o text.o script.o mark.o other.o delim.o sqrt.o pile.o special.o  -lm -L/home/scole/nbsd/src/external/gpl2/groff/lib/libbib/obj -lbib -L/home/scole/nbsd/src/external/gpl2/groff/lib/libgroff/obj -lgroff    
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfne'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfcnvxf_dbl_to_quad'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfeq'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfdiv'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfsub'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfcnvff_quad_to_dbl'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfcnvxuf_dbl_to_quad'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfadd'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfcnvff_quad_to_sgl'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qflt'
/home/scole/nbsd/src/obj/destdir.ia64/usr/lib/libgcc_s.so: undefined reference to `_U_Qfmpy'
collect2: error: ld returned 1 exit status

*** Failed target:  eqn
*** Failed command: /home/scole/nbsd/src/obj/tooldir.NetBSD-7.0.1_PATCH-i386/bin/ia64--netbsd-c++ --sysroot=/home/scole/nbsd/src/obj/destdir.ia64 -o eqn main.o lex.o eqn.o box.o limit.o list.o over.o text.o script.o mark.o other.o delim.o sqrt.o pile.o special.o -lm -L/home/scole/nbsd/src/external/gpl2/groff/lib/libbib/obj -lbib -L/home/scole/nbsd/src/external/gpl2/groff/lib/libgroff/obj -lgroff 
*** Error code 1

Stop.
nbmake[11]: stopped in /home/scole/nbsd/src/external/gpl2/groff/bin/eqn


Home | Main Index | Thread Index | Old Index