Bug 2043760 - FTBFS: mednafen fails to build with gcc-12 on ppc64le
Summary: FTBFS: mednafen fails to build with gcc-12 on ppc64le
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mednafen
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Julian Sikorski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2045129 (view as bug list)
Depends On: 2048223
Blocks: F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-01-21 22:33 UTC by Julian Sikorski
Modified: 2022-02-06 21:05 UTC (History)
4 users (show)

Fixed In Version: 1.29.0-1.fc36
Clone Of:
Environment:
Last Closed: 2022-02-06 21:05:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 104172 0 P2 NEW [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects 2022-01-24 15:46:26 UTC

Description Julian Sikorski 2022-01-21 22:33:55 UTC
Since gcc got updated to version 12, mednafen no longer builds on ppc64le:
https://koji.fedoraproject.org/koji/taskinfo?taskID=81544676
https://koji.fedoraproject.org/koji/taskinfo?taskID=81615871
The errors are not very obvious unfortunately:
{standard input}: Assembler messages:
{standard input}:43720: Error: junk at end of line, first unrecognized character is `['
{standard input}:43721: Error: expected comma after "operator"
{standard input}:45644: Error: junk at end of line, first unrecognized character is `.'
{standard input}:45645: Error: expected comma after "__ct_base"
{standard input}:46051: Error: junk at end of line, first unrecognized character is `.'
{standard input}:46052: Error: expected comma after "__ct_base"
{standard input}:46794: Error: junk at end of line, first unrecognized character is `.'
{standard input}:46795: Error: expected comma after "__ct_base"
{standard input}:48803: Error: junk at end of line, first unrecognized character is `='
{standard input}:48804: Error: expected comma after "operator"
{standard input}:49232: Error: junk at end of line, first unrecognized character is `.'
{standard input}:49233: Error: expected comma after "__ct_base"

Comment 1 Julian Sikorski 2022-01-21 22:35:21 UTC
Dear gcc maintainers, where should I look to fix this?

Comment 2 Marek Polacek 2022-01-21 22:40:45 UTC
The same problem was spotted when building Boost, too.

Comment 3 Marek Polacek 2022-01-24 15:46:27 UTC
Likely PR104172.

Comment 4 Jakub Jelinek 2022-01-25 09:27:15 UTC
https://koji.fedoraproject.org/scratch/jakub/task_81787698/ is a scratch build of gcc that could fix this.

Comment 5 Julian Sikorski 2022-01-25 16:05:05 UTC
*** Bug 2045129 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.