Bug#666162: gcc-4.7: hppa build fails: error: bits/predefs.h: No such file or directory
Source: gcc-4.7
Version: 4.7.0-1
Severity: normal
Build fails here:
/home/dave/debian/gcc/gcc-4.7/gcc-4.7-4.7.0/build/./gcc/xgcc -B/home/dave/debian
/gcc/gcc-4.7/gcc-4.7-4.7.0/build/./gcc/ -B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/lib/ -isystem /usr/hppa-linux-gnu/include -isystem /usr/hppa-linux-gnu/
sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qua
l -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./in
clude -fPIC -DELF=1 -DLINUX=1 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-pro
tector -fPIC -DELF=1 -DLINUX=1 -I. -I. -I../.././gcc -I../../../src/libgcc -I.
./../../src/libgcc/. -I../../../src/libgcc/../gcc -I../../../src/libgcc/../inclu
de -DHAVE_CC_TLS -o _ashldi3.o -MT _ashldi3.o -MD -MP -MF _ashldi3.dep -DL_ash
ldi3 -c ../../../src/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from /usr/include/stdio.h:28:0,
from ../../../src/libgcc/../gcc/tsystem.h:88,
from ../../../src/libgcc/libgcc2.c:29:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or dir
ectory
compilation terminated.
We see to have lost the multiarch/multilib support present in previous
Debian gcc versions:
dave@mx3210:/usr/include/hppa-linux-gnu/bits$ ls -l /usr/include/hppa-linux-gnu/bits/predefs.h
-rw-r--r-- 1 root root 1153 Feb 29 23:49 /usr/include/hppa-linux-gnu/bits/predefs.h
The gcc-4.6 source package is ok.
Dave
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 3.2.12+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: