This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/34519] pr26943-2.c is regressed on mainline



------- Comment #2 from ismail at pardus dot org dot tr  2007-12-18 14:17 -------
I was testing outside of the testsuite to see why it failed. I see this in log
:

PASS: libgomp.c/pr26943-2.c (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/var/pisi/gcc-4.3_pre20071218-31/work/gcc-4.3-20071218/build-default-i686-pc-linux-gnu/i686-pc-linux-gnu/./libgomp/.libs:/var/pisi/gcc-4.3_pre20071218-31/work/gcc-4.3-20071218/build-default-i686-pc-linux-gnu/gcc:.:/var/pisi/gcc-4.3_pre20071218-31/work/gcc-4.3-20071218/build-default-i686-pc-linux-gnu/i686-pc-linux-gnu/./libgomp/.libs:/var/pisi/gcc-4.3_pre20071218-31/work/gcc-4.3-20071218/build-default-i686-pc-linux-gnu/gcc:/var/pisi/gcc-4.3_pre20071218-31/work/gcc-4.3-20071218/build-default-i686-pc-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/.libs:/var/pisi/gcc-4.3_pre20071218-31/work/gcc-4.3-20071218/build-default-i686-pc-linux-gnu/i686-pc-linux-gnu/libgomp/.libs:/var/pisi/gcc-4.3_pre20071218-31/work/gcc-4.3-20071218/build-default-i686-pc-linux-gnu/./gcc:/var/pisi/gcc-4.3_pre20071218-31/work/gcc-4.3-20071218/build-default-i686-pc-linux-gnu/./prev-gcc
FAIL: libgomp.c/pr26943-2.c execution test

I can't seem to compile the testcase by hand with -fopenmp :

[~]> gcc -fopenmp pr26943-2.c -lgomp
/tmp/ccaOHasa.o: In function `main.omp_fn.0':
pr26943-2.c:(.text+0x179): undefined reference to `__sync_fetch_and_add_4'
pr26943-2.c:(.text+0x2c7): undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34519


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]