Bug#842822: pd-ableton-link: FTBFS on s390x: R_390_GOT12 relocations truncated to fit

Aaron M. Ucko amu at alum.mit.edu
Tue Nov 1 14:09:11 UTC 2016


Source: pd-ableton-link
Version: 0.2-1
Severity: important
Justification: fails to build from source

The s390x build of pd-ableton-link failed:

  g++ -DPD -I "/usr/include/pd" -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fpic -fcheck-new -I/usr/include/ableton -std=c++11 -Wno-multichar -DLINK_PLATFORM_LINUX=1 -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -o abl_link~.o -c abl_link~.cpp
  ++++ info: making abl_link_instance.o in lib abl_link~
  g++ -DPD -I "/usr/include/pd" -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fpic -fcheck-new -I/usr/include/ableton -std=c++11 -Wno-multichar -DLINK_PLATFORM_LINUX=1 -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -o abl_link_instance.o -c abl_link_instance.cpp
  ++++ info: linking objects in abl_link~.pd_linux for lib abl_link~
  g++ -rdynamic -shared -fpic -Wl,-rpath,"\$ORIGIN",--enable-new-dtags  -Wl,-z,relro  -o abl_link~.pd_linux abl_link~.o abl_link_instance.o  -lc -lm -lstdc++
  abl_link_instance.o: In function `std::_Function_base::_Base_manager<ableton::Link::Link(double)::{lambda(unsigned long)#3}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<ableton::Link::Link(double)::{lambda(unsigned long)#3}> const&, std::_Manager_operation)':
  /usr/include/c++/6/functional:1607:(.text._ZNSt14_Function_base13_Base_managerIZN7ableton4LinkC4EdEUlmE1_E10_M_managerERSt9_Any_dataRKS5_St18_Manager_operation[_ZNSt14_Function_base13_Base_managerIZN7ableton4LinkC4EdEUlmE1_E10_M_managerERSt9_Any_dataRKS5_St18_Manager_operation]+0x3a): relocation truncated to fit: R_390_GOT12 against symbol `typeinfo for ableton::Link::Link(double)::{lambda(unsigned long)#3}' defined in .data.rel.ro._ZTIZN7ableton4LinkC4EdEUlmE1_[_ZTIZN7ableton4LinkC4EdEUlmE1_] section in abl_link_instance.o
  [...]
  abl_link_instance.o: In function `__static_initialization_and_destruction_0':
  /usr/include/c++/6/iostream:74:(.text.startup+0x6c): relocation truncated to fit: R_390_GOT12 against symbol `std::ios_base::Init::~Init()@@GLIBCXX_3.4' defined in .text section in /usr/lib/gcc/s390x-linux-gnu/6/libstdc++.so
  abl_link~.o: In function `__static_initialization_and_destruction_0':
  /usr/include/c++/6/iostream:74:(.text.startup+0x7a): additional relocation overflows omitted from the output
  collect2: error: ld returned 1 exit status

Could you please take a look?  It might help to substitute -fPIC (note
capitalization) for -fpic, which limits global offset table size on
some architectures.

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the pkg-multimedia-maintainers mailing list