On Fri, Jul 24, 2020 at 3:30 PM Richard W.M. Jones <rjones(a)redhat.com> wrote:
Just upgraded a development machine to:
binutils-2.34.0-10.fc33.x86_64
gcc-10.1.1-2.fc33.x86_64
glibc-2.31.9000-21.fc33.x86_64
and a very simple C compile (non-LTO) is now segfaulting:
[snip]
I can't find any BZ for this. Any ideas what it could be?
See the last few messages in the "Very strange compiler/linker related
build failures in rawhide" thread. It looks like something has gone
awry with the binutils update. The problem is not limited to ar,
either. This is from a mock build of the abc package:
extracting debug info from
/builddir/build/BUILDROOT/abc-1.01-27.git20200720.fc33.x86_64/usr/bin/abc
/usr/lib/rpm/find-debuginfo.sh: line 262: 6010 Segmentation fault
(core dumped) nm -D "$binary" --format=posix --defined-only
6011 Done | awk '{ print $1 }'
6012 Done | sort > "$dynsyms"
/usr/lib/rpm/find-debuginfo.sh: line 262: 6013 Segmentation fault
(core dumped) nm "$debuginfo" --format=sysv --defined-only
6014 Done | awk -F \| '{ if ($4 ~ "FUNC") print $1
}'
6015 Done | sort > "$funcsyms"
xz: /tmp/tmp.1oP6gAlDVB: No such file or directory
objcopy: cannot open: /tmp/tmp.1oP6gAlDVB.xz: No such file or directory
/usr/lib/rpm/find-debuginfo.sh: line 262: 6044 Segmentation fault
(core dumped) nm -D "$binary" --format=posix --defined-only
6045 Done | awk '{ print $1 }'
6046 Done | sort > "$dynsyms"
/usr/lib/rpm/find-debuginfo.sh: line 262: 6047 Segmentation fault
(core dumped) nm "$debuginfo" --format=sysv --defined-only
6048 Done | awk -F \| '{ if ($4 ~ "FUNC") print $1
}'
6049 Done | sort > "$funcsyms"
xz: /tmp/tmp.rddMhW6CLz: No such file or directory
objcopy: cannot open: /tmp/tmp.rddMhW6CLz.xz: No such file or directory
So ar and nm are affected, at least.
--
Jerry James
http://www.jamezone.org/