Hi,

mpi@ already fixed some ports (audio/mpd at least) by removing
-Wl,--gc-sections from the linking flags, but 'lots' of other ports
using this construct fail on powerpc. Maybe we should make it a noop on
this arch ?

To reproduce, try building net/ntp on macppc, ld should reliably
segfault with:

libtool: link: cc -o sntp -pthread -ffunction-sections -fdata-sections -Wall 
-Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow 
-Winit-self -Wstrict-overflow -Wno-strict-prototypes -O2 -pipe 
-Wl,--gc-sections sntp.o version.o libsntp.a 
/usr/obj/ports/ntp-4.2.8pl6/ntp-4.2.8p6/sntp/libopts/.libs/libopts.a 
../libntp/libntp.a -L.libs -levent_pthreads -levent_core  -lm -lssl -lcrypto 
-Wl,-rpath-link,/usr/local/lib
collect2: ld terminated with signal 11 [Segmentation fault], core dumped

Other affected ports (probably more..):
2016-01-22/audio/ncmpc.log
2016-01-22/devel/llvm.log
2016-01-22/net/dnscrypt-proxy,-main.log
2016-01-22/net/ntp.log
2016-01-22/x11/fltk.log

(all under http://build-failures.rhaalovely.net/powerpc)

Landry

Reply via email to