Bug#880023: polyml: FTBFS on hppa - error linking poly

John David Anglin dave.anglin at bell.net
Sat Oct 28 14:51:01 UTC 2017


Source: polyml
Version: 5.7
Severity: normal

Dear Maintainer,

Build fails here:

Making STRUCT_CONVERSIONALS
Created functor STRUCT_CONVERSIONALS
Created structure StructConversionals
Created structure CInterface
/bin/bash ./libtool  --tag=CC   --mode=link gcc   -Wall -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security   -Wl,--as-needed -o poly  polyexport.o  libpolymain/libpolymain.la libpolyml/libpolyml.la  -lpthread -lffi -lm -ldl -lstdc++ -lgcc_s -lgcc 
libtool: link: gcc -Wall -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wl,--as-needed -o .libs/poly polyexport.o  libpolymain/.libs/libpolymain.a libpolyml/.libs/libpolyml.so -lpthread -lffi -lm -ldl -lstdc++ -lgcc_s -lgcc
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.29.1 internal error, aborting at ../../bfd/elf32-hppa.c:4054 in elf32_hppa_relocate_section

/usr/bin/ld: Please report this bug.

collect2: error: ld returned 1 exit status
Makefile:588: recipe for target 'poly' failed

Full build log is here:
https://buildd.debian.org/status/fetch.php?pkg=polyml&arch=hppa&ver=5.7-2&stamp=1507223380&raw=0

The error was reported to binutils:
https://sourceware.org/bugzilla/show_bug.cgi?id=22300

See "bug 1: polyimport, the producer of polyexport.o is using the wrong os/abi for hppa-linux." in comment 4.

The binutils part of this bug should now be fixed by commit c0e331c794d6bd75d9be9bea6145513074c33f39.

Regards,
Dave Anglin

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

Kernel: Linux 4.13.10+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8), LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



More information about the debian-science-maintainers mailing list