Samba Illegal instruction: 4 (core dumped) when running testparm & [sn]mbd with default config

RuiDC ruidc at yahoo.com
Wed Dec 23 11:12:09 UTC 2009


the samba core developer - Volker Lendecke has managed to get the testparm
executable to work by changing the LDFLAGS to remove -pie

I've tried the following:
make rmconfig
make config CONFIGURE_ARGS+= --enable-pie=no
make CONFIGURE_ARGS+= --enable-pie=no

but this does not seem to pass down to config and make, extract from output:
...
checking for -pie and -fPIE... yes
...
Using FLAGS      = 
-I/usr/ports/net/samba33/work/samba-3.3.9/source/iniparser/src -Iinclude ...
      PICFLAG    = -fPIC -DPIC
      LIBS       = -lcrypt -lexecinfo -liconv
      LDFLAGS    = -pie -Wl,-z,relro -L/usr/local/lib -Wl,-R/usr/local/lib
-L/usr/local/lib -L./bin
 
Does anybody know how to pass the enable-pie=no option through ports for
this one port?
-- 
View this message in context: http://old.nabble.com/Samba-Illegal-instruction%3A-4-%28core-dumped%29-when-running-testparm----sn-mbd-with-default-config-tp26886004p26897662.html
Sent from the freebsd-arm mailing list archive at Nabble.com.



More information about the freebsd-arm mailing list