Summary: | dev-lang/spidermonkey-1.8.5-r6 - ./methodjit/MethodJIT.cpp:192:5: error: expected '(' before 'volatile' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francesco Turco <fturco> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, sl.tom, slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 687072 | ||
Bug Blocks: | |||
Attachments: |
info.txt
build.log.xz |
Description
Francesco Turco
2019-03-03 14:18:03 UTC
Created attachment 567618 [details]
info.txt
emerge --info
Created attachment 567620 [details]
build.log.xz
MAKEOPTS="-j1" emerge -av1 =spidermonkey-1.8.5-r6
I've got the same problem. It's a compiler change: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585 In g++-9 toplevel 'asm volatile' will be a syntax error (C compiler always rejected it). It was accidentally backported into gcc-8.3.0. But it makes sense to adapt to g++-9 now and remove 'volatile'. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5efe59e2c6c11b669bf33441134d2f4a8ba9741 commit f5efe59e2c6c11b669bf33441134d2f4a8ba9741 Author: Ian Stakenvicius <axs@gentoo.org> AuthorDate: 2019-03-07 19:05:21 +0000 Commit: Ian Stakenvicius <axs@gentoo.org> CommitDate: 2019-03-07 19:05:45 +0000 dev-lang/spidermonkey: drop top-level 'asm volatile' on 1.8.5 Required to build using gcc-8 and above. Also bumped to EAPI6 while in there. Bug: https://bugs.gentoo.org/679330 Signed-off-by: Ian Stakenvicius <axs@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-lang/spidermonkey/Manifest | 1 + dev-lang/spidermonkey/spidermonkey-1.8.5-r7.ebuild | 147 +++++++++++++++++++++ 2 files changed, 148 insertions(+) Please test 1.8.5-r7 , if all is well I'll close the bug and stablereq it. I just successfully emerged dev-lang/spidermonkey-1.8.5-r7 with gcc-8.3.0. Thank you for having fixed this bug! (In reply to Francesco Turco from comment #8) > I just successfully emerged dev-lang/spidermonkey-1.8.5-r7 with gcc-8.3.0. > Thank you for having fixed this bug! for me it works as well - thank you! *** Bug 686744 has been marked as a duplicate of this bug. *** -r7 compiles fine - THX :) |