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

Bug#830436: gnat-4.9: FTBFS: b_gnatb.adb:86: undefined reference to `__gnat_runtime_finalize'



Source: gnat-4.9
Version: 4.9.3-3
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160707 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> x86_64-linux-gnu-g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o gnatbind ada/b_gnatb.o ada/a-clrefi.o ada/a-comlin.o ada/a-elchha.o ada/a-except.o ada/ada.o ada/adaint.o ada/ali-util.o ada/ali.o ada/alloc.o ada/argv.o ada/aspects.o ada/atree.o ada/bcheck.o ada/binde.o ada/binderr.o ada/bindgen.o ada/bindusg.o ada/butil.o ada/casing.o ada/cio.o ada/csets.o ada/cstreams.o ada/debug.o ada/einfo.o ada/elists.o ada/env.o ada/err_vars.o ada/errout.o ada/erroutc.o ada/exit.o ada/final.o ada/fmap.o ada/fname-uf.o ada/fname.o ada/g-byorma.o ada/g-hesora.o ada/g-htable.o ada/gnat.o ada/gnatbind.o ada/gnatvsn.o ada/hostparm.o ada/init.o ada/initialize.o ada/interfac.o ada/krunch.o ada/lib.o ada/link.o ada/namet.o ada/nlists.o ada/opt.o ada/osint-b.o ada/osint.o ada/output.o ada/raise.o ada/restrict.o ada/rident.o ada/s-addope.o ada/s-assert.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o ada/s-conca3.o ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o ada/s-conca8.o ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o ada/s-except.o ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o ada/s-mastop.o ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-restri.o ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o ada/s-sopco5.o ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strhas.o ada/s-string.o ada/s-strops.o ada/s-traent.o ada/s-unstyp.o ada/s-utf_32.o ada/s-wchcnv.o ada/s-wchcon.o ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scng.o ada/sdefault.o ada/seh_init.o ada/sem_aux.o ada/sinfo.o ada/sinput-c.o ada/sinput.o ada/snames.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o ada/stylesw.o ada/switch-b.o ada/switch.o ada/system.o ada/table.o ada/targext.o ada/targparm.o ada/tree_io.o ada/types.o ada/uintp.o ada/uname.o ada/urealp.o ada/widechar.o ggc-none.o libcommon-target.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   -g
> /«PKGBUILDDIR»/build/./gcc/xgcc -B/«PKGBUILDDIR»/build/./gcc/ -dumpspecs > tmp-specs
> mv tmp-specs specs
> : > tmp-libgcc.mvars
> echo GCC_CFLAGS = '-g -O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include ' >> tmp-libgcc.mvars
> echo INHIBIT_LIBC_CFLAGS = '' >> tmp-libgcc.mvars
> echo TARGET_SYSTEM_ROOT = '/' >> tmp-libgcc.mvars
> mv tmp-libgcc.mvars libgcc.mvars
> if /«PKGBUILDDIR»/build/./gcc/xgcc -B/«PKGBUILDDIR»/build/./gcc/ -print-sysroot-headers-suffix > /dev/null 2>&1; then \
>   set -e; for ml in `/«PKGBUILDDIR»/build/./gcc/xgcc -B/«PKGBUILDDIR»/build/./gcc/ -print-multi-lib`; do \
>     multi_dir=`echo ${ml} | sed -e 's/;.*$//'`; \
>     flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
>     sfx=`/«PKGBUILDDIR»/build/./gcc/xgcc -B/«PKGBUILDDIR»/build/./gcc/ ${flags} -print-sysroot-headers-suffix`; \
>     if [ "${multi_dir}" = "." ]; \
>       then multi_dir=""; \
>     else \
>       multi_dir=/${multi_dir}; \
>     fi; \
>     echo "${sfx};${multi_dir}"; \
>   done; \
> else \
>   echo ";"; \
> fi > tmp-fixinc_list
> /bin/bash ../../src/gcc/../move-if-change tmp-fixinc_list fixinc_list
> echo timestamp > s-fixinc_list
> ada/b_gnatb.o: In function `adafinal':
> /«PKGBUILDDIR»/build/gcc/ada/b_gnatb.adb:86: undefined reference to `__gnat_runtime_finalize'
> ada/b_gnatb.o: In function `adainit':
> /«PKGBUILDDIR»/build/gcc/ada/b_gnatb.adb:153: undefined reference to `__gnat_runtime_initialize'
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/07/gnat-4.9_4.9.3-3_unstable_reb.normal.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: