Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452436 - cross-mipsel-gentoo-linux-uclibc/uclibc-0.9.30.1 fails to build with binutils 2.21 or later
Summary: cross-mipsel-gentoo-linux-uclibc/uclibc-0.9.30.1 fails to build with binutils...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-16 07:12 UTC by Richard Yao (RETIRED)
Modified: 2013-01-16 16:53 UTC (History)
0 users

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 Richard Yao (RETIRED) gentoo-dev 2013-01-16 07:12:18 UTC
Running `env ACCEPT_KEYWORDS="~*" crossdev --libc 0.9.30.1 mipsel-gentoo-linux-uclibc` will result in a build failure with the following errors:

/var/tmp/portage/cross-mipsel-gentoo-linux-uclibc/uclibc-0.9.30.1/temp/cczyfZFi.s: Assembler messages:
/var/tmp/portage/cross-mipsel-gentoo-linux-uclibc/uclibc-0.9.30.1/temp/cczyfZFi.s: Error: .size expression for _init does not evaluate to a constant
/var/tmp/portage/cross-mipsel-gentoo-linux-uclibc/uclibc-0.9.30.1/temp/cczyfZFi.s: Error: .size expression for _fini does not evaluate to a constant

The reason is described below:

"GNU 'as' (gas) used to accept and ignore .size directives which referred to undefined symbols. In binutils 2.21, these are treated as errors."

http://manulix.wikidot.com/build-howto#toc14

It appears that we can just delete those two lines to make such builds succeed. In the meantime, I have gone back to binutils 2.20-r1 for my toolchain.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2013-01-16 07:16:10 UTC
Note that this likely also affects uclibc 0.9.30.
Comment 2 Anthony Basile gentoo-dev 2013-01-16 07:27:50 UTC
0.9.33.2-r2(In reply to comment #1)
> Note that this likely also affects uclibc 0.9.30.

Richard, this does not affect uclibc-0.9.33.2-r2 with binutils-2.22.90.  That's what's in the stage4 I'm distributing under <gentoo-mirror>/experimental/mips/uclibc.
Comment 3 SpanKY gentoo-dev 2013-01-16 16:53:40 UTC
don't care about older uclibc versions