Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340073 - sbcl-1.0.36-r1: error with "-arch x86_64" on x86-macos
Summary: sbcl-1.0.36-r1: error with "-arch x86_64" on x86-macos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 15:16 UTC by MATSUI Tetsushi
Modified: 2010-10-20 13:36 UTC (History)
0 users

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


Attachments
patch (sbcl-arch.patch,732 bytes, patch)
2010-10-07 15:18 UTC, MATSUI Tetsushi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUI Tetsushi 2010-10-07 15:16:51 UTC
sbcl-1.0.36-r1 doesn't compile on x86-macos, because it tries to use "-arch x86_64" flag with gcc,
which appears in man of gcc as "-arch arch (APPLE ONLY)" but seems unsupported in gcc-apple.

Reproducible: Always

Steps to Reproduce:
1. be gcc-apple the latest (4.2.1_p5664)
2. emerge sbcl-1.0.36-r1

Actual Results:  
As described above (sorry, I've discarded the fail log)

Expected Results:  
executable sbcl

We should use "-m64" instead of "-arch x86_64".
I'll attach my works-for-me quality  patch.

The issue affects only on x86-macos (or possibly on x64-macos also?).
Comment 1 MATSUI Tetsushi 2010-10-07 15:18:41 UTC
Created attachment 249851 [details, diff]
patch

patch against 1.0.36-r1 ebuild
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-20 13:36:13 UTC
% repoman ci -m "Fix for OSX, bug 340073 by MATSUI Tetsushi"

Thank you!