Bug 1524737 - cc -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 fails with ICE during systemd build
Summary: cc -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 fails with ICE during system...
Keywords:
Status: CLOSED DUPLICATE of bug 1523875
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Festi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-11 23:01 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2017-12-12 08:10 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 08:10:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
file used in failing command (14.84 KB, application/x-object)
2017-12-11 23:01 UTC, Zbigniew Jędrzejewski-Szmek
no flags Details

Description Zbigniew Jędrzejewski-Szmek 2017-12-11 23:01:15 UTC
Created attachment 1366368 [details]
file used in failing command

Description of problem:
Systemd builds fail in rawhide. With redhat-rpm-config-68-1.fc28.noarch the compilation is fine, but with redhat-rpm-config-69-1.fc28.noarch:

$ cc -o src/libudev/libudev.so.1.6.7 'src/libudev/udev@sha/libudev-hwdb.c.o' -shared -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | Generate final annotations
PLUGIN_START_UNIT                | Generate global annotations
PLUGIN_ALL_PASSES_END            | Generate per-function annotations
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
lto-wrapper: fatal error: cc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

Version-Release number of selected component (if applicable):
redhat-rpm-config-69-1.fc28.noarch
redhat-rpm-config-70-1.fc28.noarch
gcc-7.2.1-4.fc28.x86_64
binutils-2.29.1-5.fc28.x86_64

How reproducible:
Seems to happen fairly reliably.

Comment 1 Zbigniew Jędrzejewski-Szmek 2017-12-11 23:02:29 UTC
See upstream bug https://github.com/systemd/systemd/issues/7575 for more build logs.

Comment 2 Yanko Kaneti 2017-12-11 23:51:49 UTC
Perhaps a #1523875 duplicate?
Could try updating to the latest koji annobin annobin-2.5.1-5.fc28
https://koji.fedoraproject.org/koji/buildinfo?buildID=1008676

Comment 3 Zbigniew Jędrzejewski-Szmek 2017-12-12 08:10:05 UTC
Indeed, everything builds fine with annobin-2.5.1-5.fc28.

*** This bug has been marked as a duplicate of bug 1523875 ***


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