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

Bug#637218: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory



Package: libc6-dev-amd64
Version: 2.13-16
Severity: normal

Hi,

I thought this stuff is fixed?
When building gcc-4.7 snapshot, I get again this "gnu/stubs-32.h" error.

My build breaks like this:
...
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
file or directory
compilation terminated.

Investigating:

$ LC_ALL=C ls -l /usr/include/gnu/
total 20
-rw-r--r-- 1 root root 2943 Aug  9 15:41 lib-names.h
-rw-r--r-- 1 root root 1337 Aug  9 15:41 libc-version.h
-rw-r--r-- 1 root root 1813 Aug  9 15:45 option-groups.h
-rw-r--r-- 1 root root  604 Aug  9 15:45 stubs-64.h
-rw-r--r-- 1 root root  315 Aug  9 15:41 stubs.h

$ dpkg -S /usr/include/gnu/stubs.h
libc6-dev-amd64: /usr/include/gnu/stubs.h

( Not sure if this a good idea that /usr/include/{bits,gnu,sys}/*.h
belongs to libc6-dev-amd64 package. )

In previous eglibc packages {bits,gnu,sys} dirs were symlinked to
i386-linux-gnu/{bits,gnu,sys}, now:

$ l /usr/include/i386-linux-gnu/
insgesamt 72
drwxr-xr-x   5 root root  4096  9. Aug 15:51 .
drwxr-xr-x 116 root root 20480  9. Aug 15:51 ..
drwxr-xr-x   2 root root 12288  9. Aug 15:51 bits
-rw-r--r--   1 root root 10883 11. Jun 21:58 ffi.h
-rw-r--r--   1 root root  3496 11. Jun 21:58 ffitarget.h
-rw-r--r--   1 root root  3291  9. Aug 15:17 fpu_control.h
drwxr-xr-x   2 root root  4096  9. Aug 15:51 gnu
drwxr-xr-x   2 root root 12288  9. Aug 15:51 sys

$ l /usr/include/i386-linux-gnu/gnu/stubs*
-rw-r--r-- 1 root root 624  9. Aug 15:20
/usr/include/i386-linux-gnu/gnu/stubs-32.h
-rw-r--r-- 1 root root 315  9. Aug 15:17 /usr/include/i386-linux-gnu/gnu/stubs.h

XXX: Workaround

# cd /usr/include/gnu
# ln -sf ../i386-linux-gnu/gnu/stubs-32.h ./
# LC_ALL=C l stubs*.h
lrwxrwxrwx 1 root root  32 Aug  9 17:16 stubs-32.h ->
../i386-linux-gnu/gnu/stubs-32.h
-rw-r--r-- 1 root root 604 Aug  9 15:45 stubs-64.h
-rw-r--r-- 1 root root 315 Aug  9 15:41 stubs.h

This lets the build continue, until crt*.o breakage...

Regards,
- Sedat -

P.S.: I have rebuilt -16 with gcc-4.6 and tested against -16 from official repo.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.1-1-rt-686-pae (SMP w/1 CPU core; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6-dev-amd64 depends on:
ii  libc6-amd64             2.13-16 Embedded GNU C Library: 64bit Shar
ii  libc6-dev               2.13-16 Embedded GNU C Library: Developmen

Versions of packages libc6-dev-amd64 recommends:
ii  gcc-multilib                  4:4.6.1-2  GNU C compiler (multilib files)

libc6-dev-amd64 suggests no packages.

-- no debconf information



Reply to: