Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 172209
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Karl Hiramoto <karl@hiramoto.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log build.log text/plain Karl Hiramoto 2007-03-25 18:24 0000 3.58 KB Details
cc8Gb5tg.out cc8Gb5tg.out text/plain Karl Hiramoto 2007-03-25 18:28 0000 90.00 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 172209 depends on: Show dependency tree
Bug 172209 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-25 18:23 0000
extensions/libipt_connlimit.c:71: internal compiler error: in
arm_print_operand, at config/arm/arm.c:9875
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:147: Warning: partial line at end of file ignored
{standard input}:90: Error: undefined local label `.L20'
{standard input}:109: Error: undefined local label `.L20'
{standard input}:111: Error: undefined local label `.L20'
{standard input}:129: Error: undefined local label `.L20'
{standard input}:136: Error: undefined local label `.L20'
Preprocessed source stored into
/var/tmp/portage/net-firewall/iptables-1.3.7/temp/cc8Gb5tg.out file, please
attach this to your bugreport.
make: *** [extensions/libipt_connlimit_sh.o] Error 1


Reproducible: Always

Steps to Reproduce:
1.install crossdev armeb-softfloat-linux-uclibc
2. xmerge -av iptables 
3.

Actual Results:  
cat /var/tmp/portage/net-firewall/iptables-1.3.7/temp/build.log
>>> Unpacking source...
>>> Unpacking iptables-1.3.7.tar.bz2 to /var/tmp/portage/net-firewall/iptables-1.3.7/work
 * Applying iptables-1.3.7-more-exact-check-grep.patch ...                     
                             [ ok ]
 * Applying iptables-1.3.7-sparc64.patch ...                                   
                             [ ok ]
 * Applying install_ipv6_apps.patch ...                                        
                             [ ok ]
 * Applying install_all_dev_files.patch-1.3.1 ...                              
                             [ ok ]
 * Applying grsecurity-1.2.8-iptables.patch-1.3.1 ...                          
                             [ ok ]
 * Applying iptables-1.3.1-compilefix.patch ...                                
                             [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-firewall/iptables-1.3.7/work/iptables-1.3.7 ...
-Os
Making dependencies: please wait...
Extensions found: IPv4:connbytes IPv4:dccp IPv4:recent IPv4:string IPv6:REJECT
IPv6:esp IPv6:sctp
armeb-softfloat-linux-uclibc-gcc -Os -pipe -Wall -Wunused -I/usr/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.7\"  -fPIC -o
extensions/libipt_stealth_sh.o -c extensions/libipt_stealth.c
armeb-softfloat-linux-uclibc-gcc -shared  -o extensions/libipt_stealth.so
extensions/libipt_stealth_sh.o
armeb-softfloat-linux-uclibc-gcc -Os -pipe -Wall -Wunused -I/usr/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.7\"  -fPIC -o extensions/libipt_ah_sh.o -c
extensions/libipt_ah.c
armeb-softfloat-linux-uclibc-gcc -shared  -o extensions/libipt_ah.so
extensions/libipt_ah_sh.o
armeb-softfloat-linux-uclibc-gcc -Os -pipe -Wall -Wunused -I/usr/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.7\"  -fPIC -o
extensions/libipt_addrtype_sh.o -c extensions/libipt_addrtype.c
armeb-softfloat-linux-uclibc-gcc -shared  -o extensions/libipt_addrtype.so
extensions/libipt_addrtype_sh.o
armeb-softfloat-linux-uclibc-gcc -Os -pipe -Wall -Wunused -I/usr/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.7\"  -fPIC -o
extensions/libipt_comment_sh.o -c extensions/libipt_comment.c
armeb-softfloat-linux-uclibc-gcc -shared  -o extensions/libipt_comment.so
extensions/libipt_comment_sh.o
armeb-softfloat-linux-uclibc-gcc -Os -pipe -Wall -Wunused -I/usr/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.7\"  -fPIC -o
extensions/libipt_connlimit_sh.o -c extensions/libipt_connlimit.c
extensions/libipt_connlimit.c: In function `parse':
extensions/libipt_connlimit.c:71: internal compiler error: in
arm_print_operand, at config/arm/arm.c:9875
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:147: Warning: partial line at end of file ignored
{standard input}:90: Error: undefined local label `.L20'
{standard input}:109: Error: undefined local label `.L20'
{standard input}:111: Error: undefined local label `.L20'
{standard input}:129: Error: undefined local label `.L20'
{standard input}:136: Error: undefined local label `.L20'
Preprocessed source stored into
/var/tmp/portage/net-firewall/iptables-1.3.7/temp/cc8Gb5tg.out file, please
attach this to your bugreport.
make: *** [extensions/libipt_connlimit_sh.o] Error 1

!!! ERROR: net-firewall/iptables-1.3.7 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3976:   Called src_compile
  iptables-1.3.7.ebuild, line 132:   Called die

!!! failure
!!! 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/iptables-1.3.7/temp/build.log'.



Expected Results:  
compile normally

------- Comment #1 From Karl Hiramoto 2007-03-25 18:24:56 0000 -------
Created an attachment (id=114396) [details]
build.log

------- Comment #2 From Karl Hiramoto 2007-03-25 18:28:33 0000 -------
Created an attachment (id=114398) [details]
cc8Gb5tg.out

------- Comment #3 From Jakub Moc (RETIRED) 2007-03-25 20:04:00 0000 -------
Reopen with emerge --info output if you can reproduce this again, i.e. it fails
repeatedly at *exactly* the same place.

------- Comment #4 From Karl Hiramoto 2007-03-25 20:42:36 0000 -------
always fails at the same point.

compiled crossdev with:

UCLIBC_CPU="ARM_XSCALE" USE="-*" crossdev -v \
--binutils 2.17 \
--gcc 3.4.6-r2 \
--kernel 2.6.20 \
--libc 0.9.28.3 \
--ex-gdb \
--target armeb-softfloat-linux-uclibc


xmerge --info
xmerge script  CBUILD=i686-pc-linux-gnu
SYSROOT=/usr/armeb-softfloat-linux-uclibc
ROOT=/usr/armeb-softfloat-linux-uclibc
Portage 2.1.2.2 (uclibc/arm/armeb, gcc-3.4.6, unavailable, 2.6.20-gentoo-r2
i686)
=================================================================
System uname: 2.6.20-gentoo-r2 i686 Intel(R) Core(TM)2 CPU         T5500  @
1.66GHz
Unknown Host Operating System
Timestamp of tree: Sun, 25 Mar 2007 14:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="arm"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe"
CHOST="armeb-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arm bitmap-fonts cli cracklib dri make-symlinks midi ncurses pcre readline
reflection session spl truetype-fonts type1-fonts uclibc xorg zlib"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #5 From Jakub Moc (RETIRED) 2007-03-25 20:52:17 0000 -------
Please upgrade your gcc before reporting compiler issues...

http://www.gentoo.org/doc/en/gcc-upgrading.xml

------- Comment #6 From Karl Hiramoto 2007-04-01 13:46:10 0000 -------
This is a bug with the ebuild, 

Removing one line from the ebuild:

export KERNEL_DIR="/usr"

fixes the compile. and iptables now works on my target.  

The reason is for example when cross compiling KERNEL_DIR is not correct. for
example for arch armeb-softfloat-linux-uclibc   

KERNEL_DIR=/usr/armeb-softfloat-linux-uclibc/usr/src/linux 

------- Comment #7 From SpanKY 2007-04-08 17:51:14 0000 -------
fixed in 1.3.7

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug