Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 279434

Summary: sys-apps/util-linux-2.16 fails to cross-compile on gcc-4.4.1 with =march=armv7-a
Product: Gentoo Linux Reporter: Arun Raghavan (RETIRED) <ford_prefect>
Component: [OLD] GCC PortingAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED OBSOLETE    
Severity: normal CC: arm
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Arun Raghavan (RETIRED) gentoo-dev 2009-07-28 06:10:41 UTC
With CFLAGS="-march=armv7-a", I get the following error while doing a emerge-arm-gentoo-linux-gnueabi with gcc-4.4.1. The compile goes through fine with gcc-4.3.3.

make[2]: Entering directory `/usr/arm-gentoo-linux-gnueabi/tmp/portage/sys-apps/util-linux-2.16/work/util-linux-ng-2.16/login-utils'
arm-gentoo-linux-gnueabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -DMAIN_TEST_CHECKTTY -include ../config.h -I../include -DLOCALEDIR=\"/usr/share/locale\"  -fsigned-char -O2 -pipe -march=armv7-a -fomit-frame-pointer -I/usr/arm-gentoo-linux-gnueabi/usr/include/ -I/usr/arm-gentoo-linux-gnueabi/include/ -MT checktty_test-checktty.o -MD -MP -MF .deps/checktty_test-checktty.Tpo -c -o checktty_test-checktty.o `test -f 'checktty.c' || echo './'`checktty.c
{standard input}: Assembler messages:
{standard input}:720: Error: offset too big
{standard input}:721: Error: offset too big
{standard input}:909: Error: offset too big
{standard input}:910: Error: offset too big

Reproducible: Always
Comment 1 Arun Raghavan (RETIRED) gentoo-dev 2009-07-28 06:11:53 UTC
Created attachment 199415 [details]
build.log

Attaching build.log
Comment 2 SpanKY gentoo-dev 2012-08-19 00:15:07 UTC
seems to work now with util-linux 2.21 and gcc 4.5.3