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:13:33 +0000 (13:13 -0400)
commit73de71c37c352edfcd67a9122d4b9eb1347a5f66
treef5ea2b1e601e2a7ad19fc3c026ce46de8f5ca99c
parent14ba880b03565b199d55671b3c6e476e2373d19e
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.025576 seconds and 4 git commands to generate.