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: RESOLVED WONTFIX
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: 2020-12-13 17:16 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 (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