Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204747 - sys-libs/uclibc endian logic is wrong when cross-compiling
Summary: sys-libs/uclibc endian logic is wrong when cross-compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 13:47 UTC by Gustavo Zacarias
Modified: 2008-01-08 07:32 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 Gustavo Zacarias 2008-01-07 13:47:08 UTC
Wranglers: this belongs to embedded@

The uclibc ebuilds define uclibc_endian() to detect the arch endianess to pass this to the uclibc config.
Problem is uclibc_endian uses tc-getAS in the wrong way to check this out, for instance building an arm-unknown-linux-uclibc (armle) toolchain on a powerpc (be) host with crossdev breaks things up.
You should just use tc-endian() and ditch uclibc_endian() in the uclibc ebuilds.
Comment 1 SpanKY gentoo-dev 2008-01-08 07:32:50 UTC
i specifically changed it to not use tc-endian as that function should not exist

ive fixed uclibc_endian instead