Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358147 - multilib.eclass:multilib_toolchain_setup: doesnt work properly with more than 2 ABIs (sys-apps/sandbox fails with n32/n64/o32 mips multilib)
Summary: multilib.eclass:multilib_toolchain_setup: doesnt work properly with more than...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: MIPS Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-09 22:51 UTC by Matt Turner
Modified: 2011-03-10 01:52 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,3.77 KB, application/octet-stream)
2011-03-09 22:51 UTC, Matt Turner
Details
config-n64.log.gz (config-n64.log.gz,21.36 KB, application/octet-stream)
2011-03-09 22:52 UTC, Matt Turner
Details
config-o32.log.gz (config-o32.log.gz,9.49 KB, application/octet-stream)
2011-03-09 22:52 UTC, Matt Turner
Details
multilib profile used (multilib-profiles.tar.gz,548 bytes, application/octet-stream)
2011-03-09 22:55 UTC, Matt Turner
Details
emerge --info -v (emerge.info,12.36 KB, text/plain)
2011-03-09 23:40 UTC, Matt Turner
Details
multilib_toolchain_setup.patch (multilib_toolchain_setup.patch,1.39 KB, patch)
2011-03-10 00:26 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2011-03-09 22:51:43 UTC
Created attachment 265375 [details]
build.log

sandbox on multilib mips fails to compile.

It compiles find for the first ABI, but for the second it appears to just append a new -mabi= flag to the end of the previous ABI's config. So, o32 fails to compile because it tries with gcc -mabi=64 -mabi=32. See attached logs.
Comment 1 Matt Turner gentoo-dev 2011-03-09 22:52:27 UTC
Created attachment 265377 [details]
config-n64.log.gz
Comment 2 Matt Turner gentoo-dev 2011-03-09 22:52:47 UTC
Created attachment 265379 [details]
config-o32.log.gz
Comment 3 Matt Turner gentoo-dev 2011-03-09 22:55:33 UTC
Created attachment 265383 [details]
multilib profile used

This is the multilib profile I'm using when I get the sandbox error.
Comment 4 SpanKY gentoo-dev 2011-03-09 23:32:19 UTC
and your `emerge --info` ?
Comment 5 Matt Turner gentoo-dev 2011-03-09 23:40:42 UTC
Created attachment 265385 [details]
emerge --info -v
Comment 6 SpanKY gentoo-dev 2011-03-10 00:15:58 UTC
multilib_toolchain_setup seems to really only work two abis, and the order has to be non-default abi followed by default abi.  at any rate, i dont see this as a bug in sandbox at all.
Comment 7 SpanKY gentoo-dev 2011-03-10 00:26:12 UTC
Created attachment 265389 [details, diff]
multilib_toolchain_setup.patch

try this patch ... seems to do what i had intended originally
Comment 8 Matt Turner gentoo-dev 2011-03-10 01:28:13 UTC
(In reply to comment #7)
> Created attachment 265389 [details, diff]
> multilib_toolchain_setup.patch
> 
> try this patch ... seems to do what i had intended originally

This works for me. :)