problem compiling fwohci.c with today's compilers

Andrew Atrens atrens at nortelnetworks.com
Fri Feb 13 14:12:31 PST 2004


Hi Guys,

I cvsupped earlier this afternoon. make buildworld and installworld worked
fine with CCVER=gcc3, but when I tried to build a kernel I got the
following error -

Same problem with gcc2 and gcc3 -


# env CCVER=gcc3 cc -O -g -v  -c -pipe  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -ansi -nostdinc -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfiltfilteilterlter  fi
  -D_KERNEL -include opt_global.h  -mpreferred-stack-boundary=2
-ffreestanding  ../../bus/firewire/fwohci.c
Using built-in specs.
Configured with: DragonFly/i386 system compiler
Thread model: posix
gcc version 3.3.3 20040126 [DragonFly] (prerelease)
 /usr/libexec/gcc3/../../libexec/gcc3/cc1 -quiet -nostdinc -v -I. -I../..
-I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter
-iprefix /usr/libexec/gcc3/../../libexec/gcc3//3.3.3/ -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D_KERNEL -include
opt_global.h ../../bus/firewire/fwohci.c -quiet -dumpbase fwohci.c
-mpreferred-stack-boundary=2 -ansi -auxbase fwohci -g -O -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -ansi -version -ffreestanding -o - |
 as -v -o fwohci.o -
GNU assembler version 2.14 [DragonFly] 2004-01-31 (i386-dillon-dragonfly1.0)
using BFD version 2.14 [DragonFly] 2004-01-31
GNU C version 3.3.3 20040126 [DragonFly] (prerelease)
(i386-undermydesk-freebsd)
        compiled by GNU C version 3.3.3 20040126 [DragonFly] (prerelease).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
#include "..." search starts here:
#include <...> search starts here:
 .
 ../..
 ../../../include
 ../../contrib/dev/acpica
 ../../contrib/ipfilter
End of search list.
{standard input}: Assembler messages:
{standard input}:7348: Error: too many memory references for `or'
{standard input}:7399: Error: too many memory references for `or'


# env CCVER=gcc2 csr/dfly/devel/src/sys/compile/ATRENS (17:06) --
-Wpointer-arith -Winline -Wcast-qual  -ansi -nostdinc -I. -I../..
-I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter 
-D_KERNEL -include opt_global.h  -mpreferred-stack-boundary=2
-ffreestanding  ../../bus/firewire/fwohci.c
Using builtin specs.
gcc version 2.95.4 20020320 [DragonFly]
 /usr/libexec/binutils212/cpp0 -lang-c -std=c89 -nostdinc -v -I. -I../..
-I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter
-D__GNUC__=2 -D__GNUC_MINOR__=95 -trigraphs -D__STRICT_ANSI__ -D__i386__
-D__DragonFly__=1 -D__DragonFly_cc_version=100001 -D__FreeBSD__=4
-D__FreeBSD_cc_version=460001 -D__unix__ -D__i386 -D__unix -Acpu(i386)
-Amachine(i386) -Asystem(unix) -Asystem(FreeBSD) -Asystem(DragonFly)
-D__OPTIMIZE__ -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -Acpu(i386) -Amachine(i386) -D__i386 -D__i386__ -D__ELF__
-D_KERNEL -include opt_global.h ../../bus/firewire/fwohci.c |
 /usr/libexec/binutils212/cc1 -quiet -dumpbase fwohci.c
-mpreferred-stack-boundary=2 -ansi -g -O -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -version -ffreestanding -o - |
 /usr/libexec/binutils212/elf/as -v -o fwohci.o -
GNU CPP version 2.95.4 20020320 [DragonFly] (i386 DragonFly/ELF)
#include "..." search starts here:
#include <...> search starts here:
 .
 ../..
 ../../../include
 ../../contrib/dev/acpica
 ../../contrib/ipfilter
End of search list.
The following default directories have been omitted from the search path:
GNU C version 2.95.4 20020320 [DragonFly] (i386-unknown-dragonfly) compiled
by GNU C version 2.95.4 20020320 [DragonFly].
GNU assembler version 2.12.1 [DragonFly] 2002-07-20 (i386-obrien-freebsd5.0)
using BFD version 2.12.1 [DragonFly] 2002-07-20 /usr/include/c++/2.95
 /usr/include
 /usr/include
End of omitted list.

{standard input}: Assembler messages:
{standard input}:12930: Error: too many memory references for `or'
{standard input}:13026: Error: too many memory references for `or'








More information about the Bugs mailing list