Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678640 - <dev-qt/qtscript-5.12.1 fails to build with GCC 8.3.0: src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:5: error: expected ‘(’ before ‘volatile’
Summary: <dev-qt/qtscript-5.12.1 fails to build with GCC 8.3.0: src/3rdparty/javascrip...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: InOverlay
: 678738 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-23 18:10 UTC by Mike Lothian
Modified: 2019-02-25 15:55 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,696.91 KB, text/x-log)
2019-02-23 18:10 UTC, Mike Lothian
Details
GCC 8.3.0 Patch (0001-dev-qt-qtscript-5.12.1-GCC-8.3.0-work-around.patch,8.14 KB, patch)
2019-02-23 18:27 UTC, Mike Lothian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2019-02-23 18:10:00 UTC
Created attachment 566214 [details]
build.log

qtscript 5.12.1 isn't recompiling for me

I'm not sure if that's due to glibc 2.29 or the new gcc 8.3.0
Comment 1 Mike Lothian 2019-02-23 18:11:57 UTC
Looks like it's GCC https://bugzilla.altlinux.org/show_bug.cgi?id=35928
Comment 2 Mike Lothian 2019-02-23 18:27:20 UTC
Created attachment 566216 [details, diff]
GCC 8.3.0 Patch

GCC 8.3.0 workaround
Comment 3 Mike Lothian 2019-02-23 18:27:54 UTC
So older versions of GCC were silently ignoring the volatile
Comment 4 Toralf Förster gentoo-dev 2019-02-24 00:15:47 UTC
same for 5.11.3 @ 17.0-desktop_20190223-001927
Comment 6 Larry the Git Cow gentoo-dev 2019-02-24 15:21:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=c21f2a8452dbf8e740959694354c3954e195893a

commit c21f2a8452dbf8e740959694354c3954e195893a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-02-24 14:59:36 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-02-24 15:21:30 +0000

    dev-qt/qtscript: Fix build with >=GCC-8.3.0
    
    Bug: https://bugs.gentoo.org/678640
    Reported-by: Mike Lothian <mike@fireburn.co.uk>
    Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../qtscript/files/qtscript-5.12.1-gcc-8.3.patch   | 238 +++++++++++++++++++++
 dev-qt/qtscript/qtscript-5.12.1.ebuild             |   2 +
 2 files changed, 240 insertions(+)
Comment 7 Andreas Sturmlechner gentoo-dev 2019-02-25 10:29:14 UTC
*** Bug 678738 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2019-02-25 15:55:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e62d4057d53668675bd725f8fe8216b8649cf86

commit 9e62d4057d53668675bd725f8fe8216b8649cf86
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-02-25 15:28:26 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-02-25 15:55:29 +0000

    dev-qt/qtscript: Fix build with >=GCC-8.3.0
    
    Closes: https://bugs.gentoo.org/678640
    Reported-by: Mike Lothian <mike@fireburn.co.uk>
    Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../qtscript/files/qtscript-5.11.3-gcc-8.3.patch   | 238 +++++++++++++++++++++
 dev-qt/qtscript/qtscript-5.11.3.ebuild             |   2 +
 2 files changed, 240 insertions(+)