FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 07-28-2011, 08:58 AM
Tim Northover
 
Default Bug#635685: general: gcc -m32 has no access to system-specific includes in multiarch world

Package: general
Severity: normal

It looks like "gcc -m32" has been partially broken by the recent
hiving off of various headers to /usr/include/x86_64-linux-gnu.

In particular a program consisting of the single line "#include
<features.h>" fails with the error:

In file included from tmp.c:1:0:
/usr/include/features.h:356:25: fatal error: sys/cdefs.h: No such file
or directory
compilation terminated.

I suspect multiple packages are involved: "cpp -m32 -v" reports not
searching /usr/include/i386-linux-gnu (or equivalent) so gcc packages
are probably iffy; but even if it did there's nothing there to find so
either the gcc-*-multilib or libc6-dev (or possibly even an entirely
new gcc-*-multiheader one) will need updating.


-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAFHTzfJ0EeR==7rXxtQppguLZZLyvzHp+eb3t07kFd-QkH4=hA@mail.gmail.com">http://lists.debian.org/CAFHTzfJ0EeR==7rXxtQppguLZZLyvzHp+eb3t07kFd-QkH4=hA@mail.gmail.com
 
Old 07-28-2011, 09:39 AM
Sven Joachim
 
Default Bug#635685: general: gcc -m32 has no access to system-specific includes in multiarch world

reassign 635685 libc6-dev
severity 635685 serious
thanks

On 2011-07-28 10:58 +0200, Tim Northover wrote:

> Package: general
> Severity: normal
>
> It looks like "gcc -m32" has been partially broken by the recent
> hiving off of various headers to /usr/include/x86_64-linux-gnu.
>
> In particular a program consisting of the single line "#include
> <features.h>" fails with the error:
>
> In file included from tmp.c:1:0:
> /usr/include/features.h:356:25: fatal error: sys/cdefs.h: No such file
> or directory
> compilation terminated.
>
> I suspect multiple packages are involved: "cpp -m32 -v" reports not
> searching /usr/include/i386-linux-gnu (or equivalent) so gcc packages
> are probably iffy; but even if it did there's nothing there to find so
> either the gcc-*-multilib or libc6-dev (or possibly even an entirely
> new gcc-*-multiheader one) will need updating.

Confirmed here on i386, ncurses biarch build is broken:

,----
| $ LANG=C debian/rules build-64
| [...]
| make[2]: Entering directory `/usr/local/src/deb-src/ncurses/ncurses/obj-64/ncurses'
| gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I/usr/local/src/deb-src/ncurses/ncurses/ncurses -I/usr/local/src/deb-src/ncurses/ncurses/ncurses/../include -I../include -DUSE_BUILD_CC /usr/local/src/deb-src/ncurses/ncurses/ncurses/tinfo/make_hash.c
| In file included from /usr/include/stdlib.h:320:0,
| from /usr/local/src/deb-src/ncurses/ncurses/ncurses/build.priv.h:61,
| from /usr/local/src/deb-src/ncurses/ncurses/ncurses/tinfo/make_hash.c:40:
| /usr/include/i386-linux-gnu/sys/types.h:99:17: error: two or more data types in declaration specifiers
| make[2]: *** [make_hash] Error 1
| make[2]: Leaving directory `/usr/local/src/deb-src/ncurses/ncurses/obj-64/ncurses'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/usr/local/src/deb-src/ncurses/ncurses/obj-64'
| make: *** [build-64] Error 2
`----

It seems libc6-dev multiarch support needs to go back to the drawing
board again.

Cheers,
Sven



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87wrf2bv6h.fsf@turtle.gmx.de">http://lists.debian.org/87wrf2bv6h.fsf@turtle.gmx.de
 

Thread Tools




All times are GMT. The time now is 06:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org