ipcmon error

Carsten Weinhold weinhold at os.inf.tu-dresden.de
Thu Sep 13 16:53:26 CEST 2007


On Thursday 13 September 2007 16:40:47 Davide Fasoli wrote:

Hi Davide!

> If I recompiled l4/pkg/ I received in output:
> /home/david/tudos/l4/pkg/crtx/lib/src-c++/libssp-fake.c:30: error:
> redefinition of ‘__stack_chk_fail_local’
> /home/david/tudos/l4/pkg/crtx/lib/src-c++/libssp-fake.c:14: error: previous
> definition of ‘__stack_chk_fail_local’ was here
> /home/david/tudos/l4/pkg/crtx/lib/src-c++/libssp-fake.c:46: error:
> redefinition of ‘__stack_chk_fail_local’
> /home/david/tudos/l4/pkg/crtx/lib/src-c++/libssp-fake.c:14: error: previous
> definition of ‘__stack_chk_fail_local’ was here
> [...]
> /home/david/tudos/l4/pkg/crtx/lib/src-c++/libssp-fake.c:174: error:
> redefinition of ‘__stack_chk_fail_local’
> /home/david/tudos/l4/pkg/crtx/lib/src-c++/libssp-fake.c:14: error: previous
> definition of ‘__stack_chk_fail_local’ was here make[4]: ***
> [libssp-fake.o] Error 1
> [...]

Those line numbers are really strange. What happened to the file 
libssp-fake.c? It should look like this:

---------------- BEGIN OF libssp-fake.c -----------------
/* A few distributions ship their GCC with the stack protector feature enabled
 * by default. This code below fixes linking error when compiled with these
 * compilers
 *
 * Affected distributions (incomplete list):
 * - Ubuntu 6.10, 7.04
 */

void
__stack_chk_fail_local (void);

void
__stack_chk_fail_local (void)
{
}
----------------- END OF libssp-fake.c ------------------

Greetings,
Carsten




More information about the l4-hackers mailing list