Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2009 03:12:08 -0800 (PST)
From:      RuiDC <ruidc@yahoo.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: Samba Illegal instruction: 4 (core dumped) when running testparm & [sn]mbd with default config
Message-ID:  <26897662.post@talk.nabble.com>
In-Reply-To: <fcbb06250912221644k3378e724h200e3d8d98483dab@mail.gmail.com>
References:  <26886004.post@talk.nabble.com> <fcbb06250912221242j28b800dfr9322f94ed7a12bf1@mail.gmail.com> <26894643.post@talk.nabble.com> <fcbb06250912221644k3378e724h200e3d8d98483dab@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26897662.post>