Actions
Bug #2396
closedIt seems that on Ubuntu, perl-prepare.sh script used for building rudder-agent has some problems with ld
Status:
Released
Priority:
1 (highest)
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
# ./perl-prepare.sh [...] perl.c: In function 'S_init_tls_and_interp': perl.c:107:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] gcc -fstack-protector -L/usr/local/lib -o miniperl \ gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \ miniperlmain.o opmini.o perlmini.o util.o: In function `Perl_safesysmalloc': util.c:(.text+0x418): undefined reference to `pthread_getspecific' [...] opmini.o: In function `Perl_load_module_nocontext': opmini.c:(.text+0xdd1c): undefined reference to `pthread_getspecific' collect2: ld returned 1 exit status make[2]: *** [miniperl] Error 1 make[2]: Leaving directory `/usr/src/rudder-deb-packages/SOURCES/tmp/build/perl-5.12.1' [...]
Actions