* [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC
@ 2017-10-23 11:38 bugzilla at busybox.net
2017-10-23 11:40 ` [Buildroot] [Bug 10451] " bugzilla at busybox.net
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-23 11:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
Bug ID: 10451
Summary: libpcap 1.8.x and 1.7x does not compile on PPC
Product: buildroot
Version: 2017.08
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: mail at kkrach.de
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 7321
--> https://bugs.busybox.net/attachment.cgi?id=7321&action=edit
Compile output
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [Bug 10451] libpcap 1.8.x and 1.7x does not compile on PPC
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
@ 2017-10-23 11:40 ` bugzilla at busybox.net
2017-10-23 11:42 ` bugzilla at busybox.net
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-23 11:40 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
--- Comment #1 from Karl Krach <mail@kkrach.de> ---
Libpcap in version 1.8.1 and 1.7.4 doesn't compile with PPC gcc 7.2.0. When
downgrading to 1.6.2 the compilation succeeds.
Buildroot is version 2017.08.
Full GCC Version:
./output/host/bin/powerpc-buildroot-linux-uclibcspe-gcc --version
powerpc-buildroot-linux-uclibcspe-gcc.br_real (Buildroot 2017.08-dirty) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [Bug 10451] libpcap 1.8.x and 1.7x does not compile on PPC
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
2017-10-23 11:40 ` [Buildroot] [Bug 10451] " bugzilla at busybox.net
@ 2017-10-23 11:42 ` bugzilla at busybox.net
2017-10-23 11:43 ` bugzilla at busybox.net
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-23 11:42 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
Karl Krach <mail@kkrach.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host| |Debian GNU/Linux 9
| |(stretch)
Target| |powerpc-buildroot-linux-ucl
| |ibcspe-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [Bug 10451] libpcap 1.8.x and 1.7x does not compile on PPC
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
2017-10-23 11:40 ` [Buildroot] [Bug 10451] " bugzilla at busybox.net
2017-10-23 11:42 ` bugzilla at busybox.net
@ 2017-10-23 11:43 ` bugzilla at busybox.net
2017-10-23 11:45 ` bugzilla at busybox.net
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-23 11:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
Karl Krach <mail@kkrach.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mail at kkrach.de
Build| |Linux 4.9.0-4-amd64 #1 SMP
| |Debian 4.9.51-1
| |(2017-09-28) x86_64
| |GNU/Linux
Host|Debian GNU/Linux 9 |
|(stretch) |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [Bug 10451] libpcap 1.8.x and 1.7x does not compile on PPC
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
` (2 preceding siblings ...)
2017-10-23 11:43 ` bugzilla at busybox.net
@ 2017-10-23 11:45 ` bugzilla at busybox.net
2017-10-23 11:50 ` bugzilla at busybox.net
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-23 11:45 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
--- Comment #2 from Karl Krach <mail@kkrach.de> ---
The compiler error is:
output/host/bin/powerpc-buildroot-linux-uclibcspe-gcc -fvisibility=hidden -fpic
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe
-mfloat-gprs=double -Wa,-me500x2 -O3 -I.
-I/home/kkr/Projects/aseries-axos-c2m/system/buildroot-2017.08/output/host/powerpc-buildroot-linux-uclibcspe/sysroot/usr/include/dbus-1.0
-I/home/kkr/Projects/aseries-axos-c2m/system/buildroot-2017.08/output/host/powerpc-buildroot-linux-uclibcspe/sysroot/usr/lib/dbus-1.0/include
-DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))"
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe
-mfloat-gprs=double -Wa,-me500x2 -O3 -c ./pcap.c
./pcap.c: In function 'pcap_create_common':
./pcap.c:590:1: error: unrecognizable insn:
}
^
(insn 58 57 59 9 (set (subreg:SI (reg:V2SI 181) 0)
(unspec:SI [
(symbol_ref:SI ("pcap_cant_set_rfmon") [flags 0x3]
<function_decl 0x7eff366c4c00 pcap_cant_set_rfmon>)
(reg:SI 30 30)
] UNSPEC_MOVSI_GOT)) "./pcap.c":570 -1
(nil))
./pcap.c:590:1: internal compiler error: in extract_insn, at recog.c:2311
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [Bug 10451] libpcap 1.8.x and 1.7x does not compile on PPC
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
` (3 preceding siblings ...)
2017-10-23 11:45 ` bugzilla at busybox.net
@ 2017-10-23 11:50 ` bugzilla at busybox.net
2017-10-23 12:18 ` bugzilla at busybox.net
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-23 11:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
--- Comment #3 from Karl Krach <mail@kkrach.de> ---
Created attachment 7326
--> https://bugs.busybox.net/attachment.cgi?id=7326&action=edit
Defconfig to reproduce
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [Bug 10451] libpcap 1.8.x and 1.7x does not compile on PPC
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
` (4 preceding siblings ...)
2017-10-23 11:50 ` bugzilla at busybox.net
@ 2017-10-23 12:18 ` bugzilla at busybox.net
2017-10-25 18:51 ` bugzilla at busybox.net
2017-10-31 20:57 ` bugzilla at busybox.net
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-23 12:18 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
--- Comment #4 from Karl Krach <mail@kkrach.de> ---
Doesn't compile with GCC 6.4 either:
output/host/bin/powerpc-buildroot-linux-uclibcspe-gcc --version
powerpc-buildroot-linux-uclibcspe-gcc.br_real (Buildroot 2017.08-dirty) 6.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [Bug 10451] libpcap 1.8.x and 1.7x does not compile on PPC
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
` (5 preceding siblings ...)
2017-10-23 12:18 ` bugzilla at busybox.net
@ 2017-10-25 18:51 ` bugzilla at busybox.net
2017-10-31 20:57 ` bugzilla at busybox.net
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-25 18:51 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
--- Comment #5 from Arnout Vandecappelle <arnout@mind.be> ---
Internal compiler error, so ideally you should report this to upstream GCC. I
would first of all try playing with the command line options like -O3 and -fpic
(replace with e.g. -fPIC) and the -mfloat-gprs and -Wa,-me500x2 options. You
can also try to strip down pcap.c to the minimal thing that exposes the issue -
that is needed for reporting the bug to GCC.
I do assume that the patches in ../../projects/92107-110/br_patches do not
affect libpcap or gcc?
You can also try with an unpatched GCC:
make host-gcc-final-dirclean
make host-gcc-final-extract
mv output/build/host-gcc-final-*/ /tmp/
make HOST_GCC_FINAL_OVERRIDE_SRCDIR=/tmp/host-gcc-final-* libpcap
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [Bug 10451] libpcap 1.8.x and 1.7x does not compile on PPC
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
` (6 preceding siblings ...)
2017-10-25 18:51 ` bugzilla at busybox.net
@ 2017-10-31 20:57 ` bugzilla at busybox.net
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2017-10-31 20:57 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10451
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I'm going to close this bug because this is not a Buildroot bug, but a gcc
issue.
However, I don't think we caught this issue with our autobuilders, which means
our coverage of PowerPC testing isn't great. Karl, would you mind reviewing
https://git.buildroot.org/buildroot/tree/support/config-fragments/autobuild and
see if the set of PowerPC configurations is relevant or not ?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-10-31 20:57 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-23 11:38 [Buildroot] [Bug 10451] New: libpcap 1.8.x and 1.7x does not compile on PPC bugzilla at busybox.net
2017-10-23 11:40 ` [Buildroot] [Bug 10451] " bugzilla at busybox.net
2017-10-23 11:42 ` bugzilla at busybox.net
2017-10-23 11:43 ` bugzilla at busybox.net
2017-10-23 11:45 ` bugzilla at busybox.net
2017-10-23 11:50 ` bugzilla at busybox.net
2017-10-23 12:18 ` bugzilla at busybox.net
2017-10-25 18:51 ` bugzilla at busybox.net
2017-10-31 20:57 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.