Summary: | www-client/firefox fails to compile when AS is specified: /usr/bin/x86_64-pc-linux-gnu-as: invalid option -- 'N' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | herrtimson, telans |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.mozilla.org/show_bug.cgi?id=1654031 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=733268 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.bz2
other.tar.bz2 |
Description
Agostino Sarubbo
![]() Created attachment 648876 [details]
build.log.bz2
build log and emerge --info
Created attachment 648878 [details]
other.tar.bz2
other logs
I am failing to spot any error message. Make sure you didn't run out of memory. (In reply to Thomas Deutschmann from comment #3) > I am failing to spot any error message. Make sure you didn't run out of > memory. line 17142 of 30122 ;) Probably AS was set to x86_64-pc-linux-gnu-as, but build system expects compiler to call 'as'. I wonder how to reproduce this. I am also running with USE=-native-symlinks and don't run into this problem... (In reply to Thomas Deutschmann from comment #5) > I wonder how to reproduce this. I am also running with USE=-native-symlinks > and don't run into this problem... did you try to set AS to x86_64-pc-linux-gnu-as ? When I pass AS, I can reproduce as reported. Until upstream fixes build system to use more standard name of variable (AS -> CCAS), I suggest that ebuilds contain: local -x AS="$(tc-getCC) -c" If build system also uses user-specified ASFLAGS in non-standard way, then: local -x ASFLAGS="${CFLAGS}" Ran into this when using AS=llvm-as, where it fails with the following ... llvm-as: Unknown command line argument '-DNDEBUG=1'. Try: '/usr/lib/llvm/12/bin/llvm-as --help' llvm-as: Did you mean '--f=1'? llvm-as: Unknown command line argument '-DTRIMMED=1'. Try: '/usr/lib/llvm/12/bin/llvm-as --help' llvm-as: Did you mean '--f=1'? llvm-as: Unknown command line argument '-DMOZ_HAS_MOZGLUE'. Try: '/usr/lib/llvm/12/bin/llvm-as --help' llvm-as: Did you mean '-f'? ... (In reply to telans from comment #9) > Ran into this when using AS=llvm-as, where it fails with the following > > ... > llvm-as: Unknown command line argument '-DNDEBUG=1'. Try: > '/usr/lib/llvm/12/bin/llvm-as --help' > llvm-as: Did you mean '--f=1'? > llvm-as: Unknown command line argument '-DTRIMMED=1'. Try: > '/usr/lib/llvm/12/bin/llvm-as --help' > llvm-as: Did you mean '--f=1'? > llvm-as: Unknown command line argument '-DMOZ_HAS_MOZGLUE'. Try: > '/usr/lib/llvm/12/bin/llvm-as --help' > llvm-as: Did you mean '-f'? > ... llvm-as is not a normal assembler, it can only compile llvm text IR to llvm bytecode llvm-as --help OVERVIEW: llvm .ll -> .bc assembler USAGE: llvm-as [options] <input .llvm file> ... The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b69b4c3b20285be228a8eb1ad9487aff73986a commit 82b69b4c3b20285be228a8eb1ad9487aff73986a Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-11-10 07:51:42 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-11-10 07:54:52 +0000 www-client/firefox: cover more scenarios with AS="$(tc-getCC) -c" Closes: https://bugs.gentoo.org/732190 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/firefox-102.4.0.ebuild | 2 +- www-client/firefox/firefox-106.0.5.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) |