Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 737084

Summary: 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')
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log

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(+)