Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538338 - dev-lang/nqp-2015.01 - gcc: `-arch i386' does not match current compiler arch `ppc'
Summary: dev-lang/nqp-2015.01 - gcc: `-arch i386' does not match current compiler arch...
Status: UNCONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-31 11:03 UTC by DIZ
Modified: 2015-04-03 19:22 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,164.49 KB, text/plain)
2015-01-31 11:03 UTC, DIZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DIZ 2015-01-31 11:03:13 UTC
Created attachment 395254 [details]
build.log

Gentoo Prefix on Mac PPC.

dev-lang/nqp-2015.01 pulled in during the emerge of rakudo.

For some reason, i386 is sneaking in as an -arch option:

cc -arch i386 -arch x86_64 -arch ppc   -c -o dyncall_vector.o dyncall_vector.c
gcc: `-arch i386' does not match current compiler arch `ppc'

I've poked around, but I can't seem to find out where this creeps in....any help is appreciated.

Thank you.
Comment 1 Jeroen Roovers gentoo-dev 2015-01-31 11:17:39 UTC
It looks like 3rdparty/dyncall/ (bundled libs!) has support for PowerPC. But it messes up CFLAGS at dyncall/Makefile.embedded.