[avahi] avahi & openbsd

Julien TOUCHE julien.touche at lycos.com
Sun Feb 4 22:15:29 PST 2007

Ted Percival wrote on 5/02/07 4:24:
> Julien TOUCHE wrote:
>> from what i know, -pthread flag is sufficient normally.
>> initial tests are ok, but after it seems stack smashing protection
>> results in bad linking or else.
>> (alternate solution would be -fno-stack-protector but really prefer to
>> avoid)
> I've had linker problems with -fstack-protector before. I found the
> solution was to add -lssp to LDFLAGS. I'm not sure if it is a bug in GCC.
> I updated Tiago Sousa's stack protector m4 macros to add -lssp to
> LDFLAGS and a couple of other things, which you might be interested in:
> http://bugs.debian.org/cgi-bin/bugreport.cgi/gcc_stack_protect.m4?bug=366094;msg=17;att=3
where do you use this file ?

$ LDFLAGS="-lssp" ./configure --with-distro=none

configure:3070: checking for C compiler default output file name
configure:3097: gcc   -lssp conftest.c  >&5
/usr/bin/ld: cannot find -lssp
collect2: ld returned 1 exit status
configure:3100: $? = 1



More information about the avahi mailing list