Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 538338

Summary: dev-lang/nqp-2015.01 - gcc: `-arch i386' does not match current compiler arch `ppc'
Product: Gentoo/Alt Reporter: DIZ <daniel.ibnzayd>
Component: Mac OSXAssignee: Gentoo Prefix <prefix>
Status: RESOLVED WONTFIX    
Severity: normal CC: patrick
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

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 (RETIRED) 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.
Comment 2 Fabian Groffen gentoo-dev 2020-12-13 17:16:19 UTC
sorry, won't try and fix this one, I assume you've moved on