Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704232 - sys-fs/hfsutils-3.2.6-r5 - src_configure(): gcc: error: unrecognized argument in option '-mabi=altivec'
Summary: sys-fs/hfsutils-3.2.6-r5 - src_configure(): gcc: error: unrecognized argument...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2019-12-30 05:20 UTC by David Michael
Modified: 2019-12-30 08:08 UTC (History)
0 users

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


Attachments
config.log (config.log,863 bytes, text/plain)
2019-12-30 05:20 UTC, David Michael
Details
build.log (build.log,3.10 KB, text/plain)
2019-12-30 05:21 UTC, David Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2019-12-30 05:20:04 UTC
I tried to build hfsutils for a G4 CPU from an x86_64 workstation, and it fails due to trying the regular gcc with the cross-CFLAGS during configure.

Reproducible: Always

Steps to Reproduce:
1. emerge sys-fs/hfsutils  # (using a cross-compiler profile)
Actual Results:  
Fails, logs are attached.

Expected Results:  
It should build properly.

Setting the CC environment variable to the cross-compiler fixes it.
Comment 1 David Michael 2019-12-30 05:20:46 UTC
Created attachment 601756 [details]
config.log
Comment 2 David Michael 2019-12-30 05:21:11 UTC
Created attachment 601758 [details]
build.log
Comment 3 Larry the Git Cow gentoo-dev 2019-12-30 08:08:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81732bd14d9907c32d1813ba3b7d073d5363b5f3

commit 81732bd14d9907c32d1813ba3b7d073d5363b5f3
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-12-30 08:08:19 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-12-30 08:08:45 +0000

    sys-fs/hfsutils: Export CC
    
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/704232
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch     |  5 ++---
 .../hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch  |  4 ++--
 sys-fs/hfsutils/files/largerthan2gb.patch            |  4 ++--
 ...tils-3.2.6-r5.ebuild => hfsutils-3.2.6-r6.ebuild} | 20 +++++++++-----------
 4 files changed, 15 insertions(+), 18 deletions(-)