Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737084 - dev-lang/spidermonkey-17.0.0-r5 fails to compile with clang: mozjs17.0.0/js/src/jsopcode.cpp:6070:45: error: ordered comparison between pointer and zero ('char *' and 'int')
Summary: dev-lang/spidermonkey-17.0.0-r5 fails to compile with clang: mozjs17.0.0/js/s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-08-14 08:19 UTC by Agostino Sarubbo
Modified: 2020-08-14 09:29 UTC (History)
0 users

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


Attachments
build.log (build.log,951.95 KB, text/plain)
2020-08-14 08:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-14 08:19:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/spidermonkey-17.0.0-r5 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-14 08:19:26 UTC
Created attachment 654576 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-08-14 09:29:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df0f88749de1f5b840fc78f59fc4df7cf022c4a

commit 0df0f88749de1f5b840fc78f59fc4df7cf022c4a
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-14 09:29:17 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-14 09:29:17 +0000

    dev-lang/spidermonkey: fix building using clang
    
    Closes: https://bugs.gentoo.org/737084
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../files/spidermonkey-17.0.0-unbreak-clang.patch  | 32 ++++++++++++++++++++++
 .../spidermonkey/spidermonkey-17.0.0-r5.ebuild     |  1 +
 2 files changed, 33 insertions(+)