From: Jan-Benedict G. <jb...@us...> - 2005-08-02 20:58:44
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17845 Modified Files: Makefile Log Message: - Finally. This nails down the "section type conflict". My understanding is that it actually *is* a programming bug, but -fno-unit-at-a-time hides it. This is what i386 does, too. - Compile run with current gcc-4.1 is (still) running. - BIG FAT WARNING: The first patches are floating around to drop support for older gcc versions. 2.95 is on the list, so I guess we'd really start focussing on gcc-4.1 . If it doesn't compile for you (of if you don't have all the needed disk space needed by my wasteful script:-) I can send you a binary pack. Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/Makefile,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- Makefile 26 Jun 2005 13:41:48 -0000 1.38 +++ Makefile 2 Aug 2005 20:58:22 -0000 1.39 @@ -20,7 +20,9 @@ # Note that this CFLAGS definition will override the definition # in the top-level Makefile. We want -O1, not -O2. This is probably # only needed for our old gcc-2.95, but no longer for gcc-4.1. -CFLAGS := $(subst -O2,-O1,$(CFLAGS) ) +CFLAGS += -pipe +CFLAGS += $(call cc-option,-fno-unit-at-a-time) +CFLAGS := $(subst -O2,-O1,$(CFLAGS)) # These flags are used by the top-level makefile when linking # the kernel |