Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 15063] New: net-tools 1.60 fails to compile using 2.6.28 sanitized headers

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 15063] New: net-tools 1.60 fails to compile using 2.6.28 sanitized headers
  • Date: 6 Feb 2009 07:59:08 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15063

Summary: net-tools 1.60 fails to compile using 2.6.28 sanitized
headers
Product: Codex
Version: stable grimoire
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: net
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: sandalle AT sourcemage.org
Blocks: 15061


Ever since building glibc against 2.6.28 using sanitized headers, hal has been
failing (and I assume it's linked).

$ sorcery -v
1.14.2

Architectures: x86 and x86_64

cflags: -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3
ldflags: -Wl,--as-needed -lz -z combreloc -s -Wl,-O1

/etc/sorcery/local/depends/glibc.p:
GLIBC_HEADERS_DIR="/usr/src/glibc-2.9/linux-2.6.28"

# cast net-tools
Computing previously installed dependencies...
net-tools preparing environment...
net-tools running configuration...
[[ UNIX protocol family? -> y ]]
[[ INET (TCP/IP) protocol family? -> y ]]
[[ INET6 (IPv6) protocol family? -> y ]]
[[ Novell IPX/SPX protocol family? -> y ]]
[[ Appletalk DDP protocol family? -> y ]]
[[ AX25 (packet radio) protocol family? -> n ]]
[[ NET/ROM (packet radio) protocol family? -> n ]]
[[ Rose (packet radio) protocol family? -> n ]]
[[ X.25 (CCITT) protocol family? -> n ]]
[[ Econet protocol family? -> n ]]
[[ Ash protocol family? -> n ]]
[[ Ethernet (generic) hardware support? -> y ]]
[[ ARCnet hardware support? -> n ]]
[[ SLIP (serial line) hardware support? -> n ]]
[[ PPP (serial line) hardware support? -> n ]]
[[ IPIP Tunnel hardware support? -> n ]]
[[ STRIP (Metricom radio) hardware support? -> n ]]
[[ Token ring (generic) hardware support? -> n ]]
[[ AX25 (packet radio) hardware support? -> n ]]
[[ Rose (packet radio) hardware support? -> n ]]
[[ NET/ROM (packet radio) hardware support? -> n ]]
[[ X.25 (generic) hardware support? -> n ]]
[[ DLCI/FRAD (frame relay) hardware support? -> n ]]
[[ SIT (IPv6-in-IPv4) hardware support? -> n ]]
[[ FDDI (generic) hardware support? -> n ]]
[[ HIPPI (generic) hardware support? -> n ]]
[[ Ash hardware support? -> n ]]
[[ (Cisco)-HDLC/LAPB hardware support? -> n ]]
[[ IrDA hardware support? -> n ]]
[[ Econet hardware support? -> n ]]
[[ IP Masquerading support? -> y ]]
[[ Build iptunnel and ipmaddr? -> y ]]
[[ Build mii-tool? -> n ]]
...
hostname.c:399: warning: incompatible implicit declaration of built-in
function
'exit'
cc -z combreloc -s -Wl,-O1 -Llib -o hostname hostname.o
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o arp.o arp.c
arp.c: In function 'arp_getdevhw':
arp.c:253: warning: pointer targets in passing argument 1 of 'xhw->print'
differ in signedness
cc -z combreloc -s -Wl,-O1 -Llib -o arp arp.o -lnet-tools
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o netstat.o netstat.c
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o statistics.o statistics.c
cc -z combreloc -s -Wl,-O1 -Llib -o netstat netstat.o statistics.o -lnet-tools
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o route.o route.c
cc -z combreloc -s -Wl,-O1 -Llib -o route route.o -lnet-tools
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o rarp.o rarp.c
cc -z combreloc -s -Wl,-O1 -Llib -o rarp rarp.o -lnet-tools
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o slattach.o slattach.c
cc -z combreloc -s -Wl,-O1 -Llib -o slattach slattach.o -lnet-tools
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o plipconfig.o plipconfig.c
cc -z combreloc -s -Wl,-O1 -Llib -o plipconfig plipconfig.o -lnet-tools
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o nameif.o nameif.c
cc -z combreloc -s -Wl,-O1 -Llib -o nameif nameif.o
cc -D_GNU_SOURCE -Wall -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -I.
-idirafter ./include/ -Ilib -c -o iptunnel.o iptunnel.c
In file included from /usr/include/linux/if_tunnel.h:6,
from iptunnel.c:40:
/usr/include/linux/ip.h:85: error: redefinition of 'struct iphdr'
iptunnel.c: In function 'print_tunnel':
iptunnel.c:412: warning: pointer targets in passing argument 3 of
'format_host'
differ in signedness
iptunnel.c:413: warning: pointer targets in passing argument 3 of
'format_host'
differ in signedness
make: *** [iptunnel.o] Error 1

Compiling with GLIBC_HEADERS_DIR="/usr/src/glibc-2.9/linux-2.6.27" sanitized
headers compiles fine.


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page