Summary: | dev-perl/Math-Pari ignores ARCH / CFLAGS / ? and fails when compiling x86 userland on amd64 kernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Saverio Pangoli <saverio001> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, jmbsvicetto, srcshelton |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | special upstream | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 59506, 261375 |
Description
Saverio Pangoli
2011-08-10 12:18:11 UTC
Setting a profile does not magically change everything, especially when the make.conf you use is not adapted for that profile but instead overrides critical variables like CHOST. Here is what is in my make.conf: CHOST="i586-pc-linux-gnu" CFLAGS="-march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j7" Jeroen, For what I see CHOST has been set correctly to "i586-pc-linux-gnu", and the issue seems to be the pari ebuild 'autodetecting' that is in fact running on a x86_64 architecture. I re-opened the bug and changed the status to 'unconfirmed'; if you feel it should be closed, please tell me how I can get this to build. Setting the variables as per the embedded handbook worked for most packages, but not this one - looks like an actual problem. Saverio Not a bug, problem in your settings. I can't reproduce it. Happens on woodpecker (amd64 kernel, x86 userland). I have a system that I'm in the process of migrating from x86 (Pentium-4) to x86_64 (Xeon), due to hardware failure of the original host. This is currently a 64-bit kernel with a 32-bit userland, and CHOST still set to 'i686-pc-linux-gnu'. So far as I can tell, this is reasonable and valid. However, as above, math-pari "detects" an x86_64 system and then fails to compile. Might this be an issue for x32 user-spaces also? I've fixed this by running "sudo linux32 emerge -v math-pari", which appears to work - but this obviously isn't ideal... |