Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257483 - net-firewall/ipset-2.4.7: fails on ppc64
Summary: net-firewall/ipset-2.4.7: fails on ppc64
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: KEYWORDREQ, STABLEREQ
Depends on: 255786 259999
Blocks:
  Show dependency tree
 
Reported: 2009-02-03 13:51 UTC by Peter Volkov (RETIRED)
Modified: 2009-11-14 08:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2009-02-03 13:51:46 UTC
Arch teams, please, stabilize net-firewall/ipset-2.4.7. Thank you in advance.

x86 team please do it asap, since currently stable on your arch package is broken and makes 2.6.28 kernel oops.
Comment 1 Markus Meier gentoo-dev 2009-02-04 21:43:02 UTC
amd64/x86 stable
Comment 2 Markus 2009-03-18 15:57:19 UTC
net-firewall/ipset-2.4.7 is stable for all/more archs supported before.
Maybe close this bug!?
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2009-03-20 13:47:26 UTC
Marked ppc stable, closing since we're the last arch.
Comment 4 Brent Baude (RETIRED) gentoo-dev 2009-03-20 14:18:26 UTC
fails on ppc64 32UL

make -j10 CC=powerpc-unknown-linux-gnu-gcc 'COPT_FLAGS=-O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec' PREFIX= LIBDIR=/lib BINDIR=/sbin MANDIR=/usr/share/man INCDIR=/usr/include binaries 
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -DIPSET_VERSION=\"2.4.7\" -DIPSET_LIB_DIR=\"/lib/ipset\" -c -o ipset.o ipset.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_ipmap.o -c ipset_ipmap.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_portmap.o -c ipset_portmap.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_macipmap.o -c ipset_macipmap.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_iptree.o -c ipset_iptree.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_iptreemap.o -c ipset_iptreemap.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_iphash.o -c ipset_iphash.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_nethash.o -c ipset_nethash.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_ipporthash.o -c ipset_ipporthash.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_ipportiphash.o -c ipset_ipportiphash.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_ipportnethash.o -c ipset_ipportnethash.c
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -fPIC -o ipset_setlist.o -c ipset_setlist.c
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_ipmap.so ipset_ipmap.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_portmap.so ipset_portmap.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_macipmap.so ipset_macipmap.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_iptree.so ipset_iptree.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_iptreemap.so ipset_iptreemap.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_iphash.so ipset_iphash.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_ipporthash.so ipset_ipporthash.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_setlist.so ipset_setlist.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_ipportnethash.so ipset_ipportnethash.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_nethash.so ipset_nethash.o
powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -o libipset_ipportiphash.so ipset_ipportiphash.o
powerpc-unknown-linux-gnu-gcc -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec  -Ikernel/include -I.  -Wl,-O1 -rdynamic -o ipset ipset.o -ldl
rm ipset_iptreemap.o ipset_macipmap.o ipset_ipmap.o ipset_iphash.o ipset_portmap.o ipset_iptree.o ipset_setlist.o ipset_ipporthash.o ipset_ipportnethash.o ipset_nethash.o ipset_ipportiphash.o
 * Building kernel modules
 * Preparing ip_set module
make -j10 HOSTCC=powerpc-unknown-linux-gnu-gcc CROSS_COMPILE=powerpc-unknown-linux-gnu- 'LDFLAGS=-m elf64ppc' TOUT=/var/tmp/portage/net-firewall/ipset-2.4.7/temp/.tmp_gas_check TOUT=/var/tmp/portage/net-firewall/ipset-2.4.7/temp/.tmp_gas_check IP_NF_SET_MAX=256 IP_NF_SET_HASHSIZE=1024 all 
make -C /usr/src/linux M=`pwd`  V=0 KBUILD_OUTPUT= modules
:0: error: -m64 not supported in this configuration
:0: error: -m64 not supported in this configuration
/usr/src/linux-2.6.25-gentoo-r7/scripts/gcc-version.sh: line 31: printf: #: invalid number
/usr/src/linux-2.6.25-gentoo-r7/scripts/gcc-version.sh: line 31: printf: #: invalid number
/bin/sh: line 0: [: too many arguments
make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r7'
  CC [M]  /var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set.o
  CC [M]  /var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ipt_set.o
  CC [M]  /var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ipt_SET.o
  CC [M]  /var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set_ipmap.o
/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set.c:1: error: -m64 not supported in this configuration
/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ipt_set.c:1: error: -m64 not supported in this configuration
/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ipt_SET.c:1: error: -m64 not supported in this configuration
  CC [M]  /var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set_macipmap.o
make[2]: *** [/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ipt_SET.o] Error 1
make[2]: *** [/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ipt_set.o] Error 1
/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set_macipmap.c:1: error: -m64 not supported in this configuration
/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set_ipmap.c:1: error: -m64 not supported in this configuration
make[2]: *** [/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set_macipmap.o] Error 1
make[2]: *** [/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel/ip_set_ipmap.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-firewall/ipset-2.4.7/work/ipset-2.4.7/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7'
make: *** [all] Error 2
 * 
 * ERROR: net-firewall/ipset-2.4.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3251:  Called linux-mod_src_compile
 *             environment, line 2491:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                           CROSS_COMPILE=${CHOST}-                                          LDFLAGS="$(get_abi_LDFLAGS)"      ${BUILD_FIXES}                                           ${BUILD_PARAMS}                           ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=powerpc-unknown-linux-gnu-gcc CROSS_COMPILE=powerpc-unknown-linux-gnu- LDFLAGS=-m elf64ppc  TOUT=/var/tmp/portage/net-firewall/ipset-2.4.7/temp/.tmp_gas_check TOUT=/var/tmp/portage/net-firewall/ipset-2.4.7/temp/.tmp_gas_check IP_NF_SET_MAX=256 IP_NF_SET_HASHSIZE=1024 all
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-firewall/ipset-2.4.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipset-2.4.7/temp/environment'.
 * 

>>> Failed to emerge net-firewall/ipset-2.4.7, Log file:

>>>  '/var/tmp/portage/net-firewall/ipset-2.4.7/temp/build.log'

 * Messages for package net-firewall/ipset-2.4.7:

If we are compiling kernel modules, we need to use the 64bit compiler
Comment 5 Joe Jezak (RETIRED) gentoo-dev 2009-03-20 14:21:05 UTC
Reopened for PPC64, 32UL
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2009-03-22 11:49:21 UTC
Joe, before I started to look at this issue, could you try with ipset-2.4.9-r1?
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-14 23:07:05 UTC
ppc64: did you test the newer versions?
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2009-11-14 08:30:27 UTC
Ok, I guess ppc64 is understaffed at the moment. Since they were added by mistake here I'll close this bug as LATER.

BTW Joe, if you want me to look at this problem I can, but then I need ppc64 access :)