Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698230 - media-libs/vulkan-loader-1.1.125 build failure with gcc - unrecognized command line option ‘-fno-integrated-as’
Summary: media-libs/vulkan-loader-1.1.125 build failure with gcc - unrecognized comman...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-22 01:08 UTC by franklyfrank
Modified: 2019-10-22 03:12 UTC (History)
0 users

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


Attachments
build.log (build.log,5.47 KB, text/x-log)
2019-10-22 01:08 UTC, franklyfrank
Details
output of `emerge --info` (emerge-info.txt,5.48 KB, text/plain)
2019-10-22 01:09 UTC, franklyfrank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description franklyfrank 2019-10-22 01:08:19 UTC
Created attachment 593600 [details]
build.log

For some reason a cflag meant for building with Clang gets appended even though I only have a gcc-9.1.0-r1 toolchain.
Comment 1 franklyfrank 2019-10-22 01:09:03 UTC
Created attachment 593602 [details]
output of `emerge --info`
Comment 2 Ionen Wolkens gentoo-dev 2019-10-22 02:40:20 UTC
Can confirm "[[ anything ]]" will always return true, the actual tc-is-clang function in "[[ tc-is-clang && ${ABI} == x86 ]]" isn't even being run.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2019-10-22 03:07:45 UTC
The correct syntax is:
if tc-is-clang && [[ ${ABI} == x86 ]]; then
Comment 4 Larry the Git Cow gentoo-dev 2019-10-22 03:12:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23f2b23e23376333c6425187e3f70246457527a3

commit 23f2b23e23376333c6425187e3f70246457527a3
Author:     Nick Sarnie <sarnex@gentoo.org>
AuthorDate: 2019-10-22 03:09:51 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2019-10-22 03:09:51 +0000

    media-libs/vulkan-loader: Fix build
    
    Closes: https://bugs.gentoo.org/698230
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 media-libs/vulkan-loader/vulkan-loader-1.1.125.ebuild | 2 +-
 media-libs/vulkan-loader/vulkan-loader-9999.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)