> Ports lang/gcc43, 44 and 45 fail to build on 8.0-beta2 ia64: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40959 > > I know they build fine on 6.4-stable alpha, but > what about sparc64? amd64? mips? > > many thanks > > -- > Anton Shterenlikht FYI: I mostly ported GCC 4.5 to the BSD Makefiles (svn head sys/gnu/usr.bin/cc) for ARM. Basically, I added the FreeBSD format extension, the __FreeBSD_cc_version built-in define and the PATH changes. I did not make BSD Makefile for the GMP and MPFR libraries. I don't have the FreeBSD-8.0 revision 195697 that eliminates ".text relocations in shared libraries compiled with stack protector". Vassilis Laganakos has been working with GCC 4.4 on the ARM. I haven't push the compiler (and newer binutils 2.19) much beyond building the kernel. GCC 4.5 "-O" option creates new kernel warnings with the conditional locks. Below is a typical error: /mnt/arm64/usr/bin/gcc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror ../../../fs/devfs/devfs_vnops.c cc1: warnings being treated as errors ../../../fs/devfs/devfs_vnops.c: In function 'devfs_lookup': ../../../sys/sx.h:165:1: error: inlining failed in call to '__sx_xunlock': call is unlikely and code size would grow ../../../fs/devfs/devfs_vnops.c:809:3: error: called from here ../../../sys/sx.h:165:1: error: inlining failed in call to '__sx_xunlock': call is unlikely and code size would grow ../../../fs/devfs/devfs_vnops.c:817:4: error: called from here ../../../sys/sx.h:165:1: error: inlining failed in call to '__sx_xunlock': call is unlikely and code size would grow ../../../fs/devfs/devfs_vnops.c:828:4: error: called from here *** Error code 1 --Mark Tinguely.Received on Mon Aug 17 2009 - 15:18:50 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC