[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#943796: gcc-9: FTBFS on hppa - ld cannot find -latomic



Source: gcc-9
Version: 9.2.1-15
Severity: normal

Dear Maintainer,

The build failed with the following error:

make[6]: Entering directory '/<<PKGBUILDDIR>>/build/hppa-linux-gnu/libgnatvsn'
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/ada/adalib/gnatvsn'
/usr/bin/install -c -m 444 .libs/*.ali '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/ada/adalib/gnatvsn'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libgnatvsn.la '/<<PKGBUILDDIR>>/debian/tmp/usr/lib'
libtool: install: warning: relinking `libgnatvsn.la'
libtool: install: (cd /<<PKGBUILDDIR>>/build/hppa-linux-gnu/libgnatvsn; /bin/bash /<<PKGBUILDDIR>>/build/hppa-linux-gnu/libgnatvsn/libtool  --tag CC --mode=relink /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ -B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/lib/ -isystem /usr/hppa-linux-gnu/include -isystem /usr/hppa-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include -fchecking=1 -mdisable-indexing -g -O2 -version-info 9 -Wl,--no-allow-shlib-undefined -Wl,--no-copy-dt-needed-entries -Wl,--no-undefined -Wl,-z,relro -o libgnatvsn.la -rpath /usr/lib libgnatvsn_la-link.lo libgnatvsn_la-version.lo -L../libada/adalib -lgnat-9 aspects.lo atree.lo binderr.lo butil.lo casing.lo csets.lo debug.lo einfo.lo elists.lo fname.lo get_scos.lo gnatvsn.lo krunch.lo lib.lo namet.lo nlists.lo opt.lo output.lo put_scos.lo repinfo.lo repinfo-input.lo scans.lo scos.lo sem_aux.lo sinfo.lo sinput.lo sinput-c.lo stand.lo stringt.lo table.lo tempdir.lo tree_in.lo tree_io.lo types.lo uintp.lo uname.lo urealp.lo widechar.lo xutil.lo snames.lo alloc.lo hostparm.lo rident.lo .././libatomic/libatomic.la -inst-prefix-dir /<<PKGBUILDDIR>>/debian/tmp)
libtool: relink: /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ -B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/lib/ -isystem /usr/hppa-linux-gnu/include -isystem /usr/hppa-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include   -fchecking=1 -shared  -fPIC -DPIC  .libs/libgnatvsn_la-link.o .libs/libgnatvsn_la-version.o .libs/aspects.o .libs/atree.o .libs/binderr.o .libs/butil.o .libs/casing.o .libs/csets.o .libs/debug.o .libs/einfo.o .libs/elists.o .libs/fname.o .libs/get_scos.o .libs/gnatvsn.o .libs/krunch.o .libs/lib.o .libs/namet.o .libs/nlists.o .libs/opt.o .libs/output.o .libs/put_scos.o .libs/repinfo.o .libs/repinfo-input.o .libs/scans.o .libs/scos.o .libs/sem_aux.o .libs/sinfo.o .libs/sinput.o .libs/sinput-c.o .libs/stand.o .libs/stringt.o .libs/table.o .libs/tempdir.o .libs/tree_in.o .libs/tree_io.o .libs/types.o .libs/uintp.o .libs/uname.o .libs/urealp.o .libs/widechar.o .libs/xutil.o .libs/snames.o .libs/alloc.o .libs/hostparm.o .libs/rident.o   -L/<<PKGBUILDDIR>>/build/hppa-linux-gnu/libada/adalib -lgnat-9 -L/<<PKGBUILDDIR>>/debian/tmp/usr/lib -L/usr/lib -latomic  -mdisable-indexing -Wl,--no-allow-shlib-undefined -Wl,--no-copy-dt-needed-entries -Wl,--no-undefined -Wl,-z -Wl,relro   -pthread -Wl,-soname -Wl,libgnatvsn.so.9 -o .libs/libgnatvsn.so.9.0.0
/usr/bin/hppa-linux-gnu-ld: cannot find -latomic
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libgnatvsn.la' with the above command before installing it
make[6]: *** [Makefile:552: install-libLTLIBRARIES] Error 1

The hppa architecture has a non empty libatomic that needs to be linked
against for atomic support.

Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=gcc-9&arch=hppa&ver=9.2.1-15&stamp=1572353329&raw=0

Regards,
Dave Anglin


-- System Information:
Debian Release: bullseye/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 4.14.150+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information


Reply to: