test: add test for gcc issue with weak hidden symbol on powerpc
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 20 May 2016 17:02:47 +0000 (13:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 20 May 2016 17:10:49 +0000 (13:10 -0400)
commit5a67344622044d35ae424565e03aec25221cae58
treec9daf62ee7ffebd598d3c1912c7451b0d137a145
parentcad6b749231be8c91fcfd3616934032b5dfd3614
test: add test for gcc issue with weak hidden symbol on powerpc

On Ubuntu 32-bit powerpc, gcc 4.4, 4.6, 4.8, gcc -O1 (and O2) causes
weak hidden symbols to have different addresses within the same module.
It seems to be fixed in gcc 4.9 on powerpc.

This issue causes some tracepoints to be silently hidden from LTTng.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
.gitignore
configure.ac
tests/Makefile.am
tests/gcc-weak-hidden/Makefile.am [new file with mode: 0644]
tests/gcc-weak-hidden/b.c [new file with mode: 0644]
tests/gcc-weak-hidden/c.c [new file with mode: 0644]
tests/gcc-weak-hidden/d.c [new file with mode: 0644]
tests/gcc-weak-hidden/main.c [new file with mode: 0644]
tests/gcc-weak-hidden/test_gcc_weak_hidden.in [new file with mode: 0755]
This page took 0.025527 seconds and 4 git commands to generate.