|
From: Philippe W. <phi...@sk...> - 2012-07-06 21:48:18
|
On Fri, 2012-07-06 at 11:19 +0200, Florian Krohm wrote: > Hi Philippe, > > thanks for the reports. Should be fixed now r12716 / r12717. On gcc20, I obtain: == 621 tests, 1 stderr failure, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == none/tests/ifunc (stdout) none/tests/ifunc (stderr) So, still something slightly wrong : it looks like the test is not compiled or linked anymore, but is not disabled. On gcc110 (ppc64), ifunc compiles/links and runs correctly. The diffs on gcc20 are: more ./none/tests/ifunc.*diff :::::::::::::: ./none/tests/ifunc.stderr.diff :::::::::::::: --- ifunc.stderr.exp 2012-07-05 23:53:38.521746994 +0200 +++ ifunc.stderr.out 2012-07-06 23:28:19.333735432 +0200 @@ -1,2 +1 @@ - - +valgrind: ./ifunc: No such file or directory :::::::::::::: ./none/tests/ifunc.stdout.diff :::::::::::::: --- ifunc.stdout.exp 2012-07-05 23:53:38.521746994 +0200 +++ ifunc.stdout.out 2012-07-06 23:28:19.315647342 +0200 @@ -1 +0,0 @@ -5 > > Florian > > > On 07/06/2012 12:15 AM, Philippe Waroquiers wrote: > > On Thu, 2012-07-05 at 23:59 +0200, Philippe Waroquiers wrote: > >> On Thu, 2012-07-05 at 22:21 +0100, sv...@va... wrote: > >>> florian 2012-07-05 22:21:37 +0100 (Thu, 05 Jul 2012) > >>> > >>> New Revision: 12715 > >> > >> Hello Florian, > >> With the abive, there is a little bit of mystery on gcc110 (ppc64 beast): > >> > >> on gcc110 (after fresh autogen.sh and configure) : > >> gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_ppc64=1 -DVGO_linux=1 -DVGP_ppc64_linux=1 -DVGPV_ppc64_linux_vanilla=1 -DVGA_SEC_ppc32=1 -DVGP_SEC_ppc64_linux=1 -Winline -Wall -Wshadow -g -m64 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT ifunc.o -MD -MP -MF .deps/ifunc.Tpo -c -o ifunc.o ifunc.c > >> ifunc.c:14:6: error: ifunc is not supported in this configuration > >> > >> In the config.log: > >> configure:8255: checking if gcc supports the ifunc attribute > >> configure:8262: gcc -c -Wno-long-long -Wno-pointer-sign -fno-stack-protector conftest.c >&5 > >> configure:8262: $? = 0 > >> configure:8265: result: yes > >> > >> So, unclear to me what is happening. > > > > On gcc20, another problem: > > > > gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_amd64=1 -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -DVGA_SEC_x86=1 -DVGP_SEC_amd64_linux=1 -Winline -Wall -Wshadow -g -m64 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT ifunc.o -MD -MP -MF .deps/ifunc.Tpo -c -o ifunc.o ifunc.c > > ifunc.c:15: warning: ‘ifunc’ attribute directive ignored > > ifunc.c:9: warning: ‘resolve_test’ defined but not used > > mv -f .deps/ifunc.Tpo .deps/ifunc.Po > > gcc -Winline -Wall -Wshadow -g -m64 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o ifunc ifunc.o > > ifunc.o: In function `main': > > /home/philippe/valgrind/trunk_untouched/none/tests/ifunc.c:19: undefined reference to `test' > > collect2: ld returned 1 exit status > > > > Philippe > > > > > > > |