ipcmon error

Carsten Weinhold weinhold at os.inf.tu-dresden.de
Thu Sep 13 13:44:23 CEST 2007


Am Donnerstag September 13 2007 schrieb Bjoern Doebel:
> Hi,

Hello Davide!

> > [...] What's the problem?
>
> Ubuntu. :)
>
> According to our experience and Google
> (https://launchpad.net/ubuntu/+source/iptables/+bug/66681), this can be
> solved using the -fno-stack-protector option in CFLAGS and CXXFLAGS.
> However, our build system already sets this variable for you. Can you
> please perform "make cleanall && make V=1" in l4/pkg/ipcmon/server/src, and
> check if the output contains the -fno-stack-protector option?

Unfortunately, this will not be sufficient. The problem is that the 
libsupc++.a shipping with Ubuntu's GCC-4.1 compiler has the stack-protector 
feature enabled and hence is not affected by compiler flags for the L4 
packages. The attached patch is a work around for this problem. Another 
option would be to compile your L4 tree with GCC 3.4.6.

Greetings,
Carsten

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack-guard-fix.diff
Type: text/x-diff
Size: 953 bytes
Desc: not available
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20070913/82859d26/attachment.diff>


More information about the l4-hackers mailing list