Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279434 - sys-apps/util-linux-2.16 fails to cross-compile on gcc-4.4.1 with =march=armv7-a
Summary: sys-apps/util-linux-2.16 fails to cross-compile on gcc-4.4.1 with =march=armv7-a
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 06:10 UTC by Arun Raghavan (RETIRED)
Modified: 2012-08-19 00:15 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,157.92 KB, text/plain)
2009-07-28 06:11 UTC, Arun Raghavan (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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