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

Bug#407705: gnumach: compile error with DEB_BUILD_OPTIONS=noopt

Package: gnumach
Version: 2:1.3.99.dfsg.1-1+b1
Severity: important
Justification: fails to build from source

by default, this compiles with -O0 and produces the following error

mv -f linux/dev/drivers/net/.deps/liblinux_a-net_init.Tpo linux/dev/drivers/net/.deps/liblinux_a-net_init.Po
i486-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -nostdinc -imacros config.h -Ii386 -I. -I../i386 -I../i386/include/mach/sa -I../include -I../i386/linux/dev/include -I./linux/dev/include -I../linux/dev/include -I./linux/src/include -I../linux/src/include  -O2 -Wall -fno-strict-aliasing -Wall -g -pipe -fno-strict-aliasing -O0 -MT linux/src/drivers/net/liblinux_a-pci-scan.o -MD -MP -MF linux/src/drivers/net/.deps/liblinux_a-pci-scan.Tpo -c -o linux/src/drivers/net/liblinux_a-pci-scan.o `test -f 'linux/src/drivers/net/pci-scan.c' || echo '../'`linux/src/drivers/net/pci-scan.c
.../linux/src/drivers/net/pci-scan.c:35:2: warning: #warning You must compile this file with the correct options!
.../linux/src/drivers/net/pci-scan.c:36:2: warning: #warning See the last lines of the source file.
.../linux/src/drivers/net/pci-scan.c:37:2: error: #error You must compile this driver with the proper options, including "-O".
make[3]: *** [linux/src/drivers/net/liblinux_a-pci-scan.o] Error 1
rm i386/i386/i386asm.symc.o i386/i386/i386asm.symc
make[3]: Leaving directory `/var2/gnumach/gnumach-1.3.99.dfsg.1/build'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var2/gnumach/gnumach-1.3.99.dfsg.1/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var2/gnumach/gnumach-1.3.99.dfsg.1/build'
make: *** [build-gnumach] Error 2

If debian/rules changed to use -O1 builds OK.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: hurd-i386 (i386-AT386)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information

Reply to: