https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61967

--- Comment #4 from Дилян Палаузов <dilyan.palauzov at aegee dot org> ---
(In reply to Andrew Pinski from comment #2)
> >../gnu/libgnu.a
> 
> I bet it is due to how ../gnu/libgnu.a is generated.  Does it use gcc-ar or
> just ar?  For 4.9 and above, we use slim lto object files so it does not
> produce a symbol table that ar does not understand without a plugin and
> gcc-ar forces the plugin to be loaded.

gnulib is proceeded with ar, as you can see below. The fix from
https://sourceware.org/bugzilla/show_bug.cgi?id=14698 foreseen for the next
release of binutils has not helped me.

$ rm gnu/libgnu.a
$ make V=1

make[4]: Entering directory '/mnt/new/src/tar-1.28/gnu'
rm -f libgnu.a
ar cru libgnu.a copy-acl.o set-acl.o allocator.o areadlink.o areadlinkat.o
argmatch.o argp-ba.o argp-eexst.o argp-fmtstream.o argp-fs-xinl.o argp-help.o
argp-parse.o argp-pin.o argp-pv.o argp-pvh.o argp-xinl.o argp-version-etc.o
backupfile.o bitrotate.o c-ctype.o c-strcasecmp.o c-strncasecmp.o
careadlinkat.o cloexec.o close-stream.o closeout.o opendir-safer.o dirname.o
basename.o dirname-lgpl.o basename-lgpl.o stripslash.o exclude.o exitfail.o
chmodat.o chownat.o fd-hook.o fdutimensat.o filenamecat-lgpl.o fprintftime.o
full-write.o gettime.o hash.o human.o imaxtostr.o inttostr.o offtostr.o
uinttostr.o umaxtostr.o localcharset.o malloca.o mbchar.o mbscasecmp.o
mbuiter.o modechange.o openat-die.o parse-datetime.o priv-set.o progname.o
acl-errno-valid.o file-has-acl.o qcopy-acl.o qset-acl.o quotearg.o safe-read.o
safe-write.o save-cwd.o savedir.o se-context.o se-selinux.o stat-time.o
statat.o strftime.o strnlen1.o tempname.o timespec.o unistd.o dup-safer.o
fd-safer.o pipe-safer.o uniwidth/width.o unlinkdir.o utimens.o version-etc.o
version-etc-fsf.o wctype-h.o xmalloc.o xalloc-die.o xgetcwd.o xsize.o
xstrndup.o xstrtol.o xstrtoul.o xstrtol-error.o xstrtoumax.o xvasprintf.o
xasprintf.o asnprintf.o chdir-long.o fcntl.o futimens.o getopt.o getopt1.o
linkat.o openat-proc.o printf-args.o printf-parse.o regex.o selinux-at.o
utimensat.o vasnprintf.o
ranlib libgnu.a
make[4]: Leaving directory '/mnt/new/src/tar-1.28/gnu'

Reply via email to