public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/34519]  New: pr26943-2.c is regressed on mainline
@ 2007-12-18 10:17 ismail at pardus dot org dot tr
  2007-12-18 10:52 ` [Bug libgomp/34519] " jakub at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-12-18 10:17 UTC (permalink / raw)
  To: gcc-bugs

This test was fine with revision 130991 but broken with mainline now. This is
what I get now :

[~]> gcc pr26943-2.c -lgomp

[~]> ./a.out
zsh: abort      ./a.out

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc/4.3.0
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include
--datadir=/usr/share/gcc/i686-pc-linux-gnu/4.3.0
--mandir=/usr/share/gcc/i686-pc-linux-gnu/4.3.0/man
--infodir=/usr/share/gcc/i686-pc-linux-gnu/4.3.0/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v3
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-libgcj
--disable-libssp --disable-multilib --disable-nls --disable-werror
--disable-mudflap --disable-libmudflap --enable-checking=release
--enable-clocale=gnu --enable-__cxa_atexit
--enable-languages=c,c++,fortran,objc --enable-libstdcxx-allocator=new
--enable-shared --enable-ssp --enable-threads=posix
--enable-version-specific-runtime-libs --without-included-gettext
--without-system-libunwind --with-system-zlib --with-cpu=generic
--with-pkgversion='Pardus Linux' --with-bugurl=http://bugs.pardus.org.tr
Thread model: posix
gcc version 4.3.0 20071217 [trunk revision 131010] (Pardus Linux)


-- 
           Summary: pr26943-2.c is regressed on mainline
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ismail at pardus dot org dot tr


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libgomp/34519] pr26943-2.c is regressed on mainline
  2007-12-18 10:17 [Bug libgomp/34519] New: pr26943-2.c is regressed on mainline ismail at pardus dot org dot tr
@ 2007-12-18 10:52 ` jakub at gcc dot gnu dot org
  2007-12-18 14:18 ` ismail at pardus dot org dot tr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-12-18 10:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2007-12-18 10:52 -------
This test relies on being compiled wit -fopenmp (as a bunch of other tests do).
Why are you compiling it without it?


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libgomp/34519] pr26943-2.c is regressed on mainline
  2007-12-18 10:17 [Bug libgomp/34519] New: pr26943-2.c is regressed on mainline ismail at pardus dot org dot tr
  2007-12-18 10:52 ` [Bug libgomp/34519] " jakub at gcc dot gnu dot org
@ 2007-12-18 14:18 ` ismail at pardus dot org dot tr
  2007-12-18 14:31 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-12-18 14:18 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libgomp/34519] pr26943-2.c is regressed on mainline
  2007-12-18 10:17 [Bug libgomp/34519] New: pr26943-2.c is regressed on mainline ismail at pardus dot org dot tr
  2007-12-18 10:52 ` [Bug libgomp/34519] " jakub at gcc dot gnu dot org
  2007-12-18 14:18 ` ismail at pardus dot org dot tr
@ 2007-12-18 14:31 ` jakub at gcc dot gnu dot org
  2007-12-18 14:39 ` ismail at pardus dot org dot tr
  2007-12-18 23:11 ` ismail at pardus dot org dot tr
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-12-18 14:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2007-12-18 14:30 -------
On i386 you need also -march=i486 or higher, i386 doesn't have instructions
for atomic stuff.


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libgomp/34519] pr26943-2.c is regressed on mainline
  2007-12-18 10:17 [Bug libgomp/34519] New: pr26943-2.c is regressed on mainline ismail at pardus dot org dot tr
                   ` (2 preceding siblings ...)
  2007-12-18 14:31 ` jakub at gcc dot gnu dot org
@ 2007-12-18 14:39 ` ismail at pardus dot org dot tr
  2007-12-18 23:11 ` ismail at pardus dot org dot tr
  4 siblings, 0 replies; 6+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-12-18 14:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ismail at pardus dot org dot tr  2007-12-18 14:39 -------
[~]> gcc -fopenmp -march=i486 pr26943-2.c -lgomp

[~]> ./a.out
[~]>

works fine like this, I don't know why it fails in the tests. Hmm wonder if
--with-cpu=generic  could affect this? This is a 4 CPU Xeon machine btw.


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libgomp/34519] pr26943-2.c is regressed on mainline
  2007-12-18 10:17 [Bug libgomp/34519] New: pr26943-2.c is regressed on mainline ismail at pardus dot org dot tr
                   ` (3 preceding siblings ...)
  2007-12-18 14:39 ` ismail at pardus dot org dot tr
@ 2007-12-18 23:11 ` ismail at pardus dot org dot tr
  4 siblings, 0 replies; 6+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-12-18 23:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ismail at pardus dot org dot tr  2007-12-18 23:11 -------
Re-tested with no problems now, but machine was under %300 load when this test
failed. Interestingly rest of the regtests passed fine. Anyway this is invalid.
Thanks for the attention.


-- 

ismail at pardus dot org dot tr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-18 23:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-18 10:17 [Bug libgomp/34519] New: pr26943-2.c is regressed on mainline ismail at pardus dot org dot tr
2007-12-18 10:52 ` [Bug libgomp/34519] " jakub at gcc dot gnu dot org
2007-12-18 14:18 ` ismail at pardus dot org dot tr
2007-12-18 14:31 ` jakub at gcc dot gnu dot org
2007-12-18 14:39 ` ismail at pardus dot org dot tr
2007-12-18 23:11 ` ismail at pardus dot org dot tr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).