public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/38400]  New: Acats faillures due to undefined pthread_setrunon_np
@ 2008-12-04 13:42 J dot J dot vanderHeijden at gmail dot com
  2008-12-10 11:55 ` [Bug ada/38400] " laurent at guerby dot net
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: J dot J dot vanderHeijden at gmail dot com @ 2008-12-04 13:42 UTC (permalink / raw)
  To: gcc-bugs

A whole lot of Acats tests fail for IRIX 6.2 (see
http://gcc.gnu.org/ml/gcc-testresults/2008-10/msg00710.html)

This is because the Ada runtime uses the non-portable IRIX6.5-only function
pthread_setrunon_np, as evident from this snippet of acats.log:

splitting
/build/gcc/gcc-4.3.2/obj-quick/gcc/testsuite/ada/acats/tests/a/a83a02b.ada
into:
   a83a02b.adb
BUILD a83a02b.adb
gnatmake --GCC="/build/gcc/gcc-4.3.2/obj-quick/gcc/xgcc
-B/build/gcc/gcc-4.3.2/obj-quick/gcc/" -gnatws -O2
-I/build/gcc/gcc-4.3.2/obj-quick/gcc/testsuite/ada/acats/support a83a02b.adb
-largs --GCC="/build/gcc/gcc-4.3.2/obj-quick/gcc/xgcc
-B/build/gcc/gcc-4.3.2/obj-quick/gcc/"
/build/gcc/gcc-4.3.2/obj-quick/gcc/xgcc -c
-B/build/gcc/gcc-4.3.2/obj-quick/gcc/ -gnatws -O2
-I/build/gcc/gcc-4.3.2/obj-quick/gcc/testsuite/ada/acats/support a83a02b.adb
gnatbind -I/build/gcc/gcc-4.3.2/obj-quick/gcc/testsuite/ada/acats/support -x
a83a02b.ali
gnatlink a83a02b.ali --GCC=/build/gcc/gcc-4.3.2/obj-quick/gcc/xgcc
-B/build/gcc/gcc-4.3.2/obj-quick/gcc/
ld32: WARNING 84: /build/gcc/gcc-4.3.2/obj-quick/gcc/ada/rts/libgnarl.a is not
used for resolving any symbol.
ld32: ERROR 33: Unresolved data symbol "pthread_setrunon_np" -- 1st referenced
by /build/gcc/gcc-4.3.2/obj-quick/gcc/ada/rts/s-taprop.o.
        Use linker option -v to see when and which objects, archives and dsos
are loaded.  
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
gnatlink: error when calling /build/gcc/gcc-4.3.2/obj-quick/gcc/xgcc
gnatmake: *** link failed.
FAIL:   a83a02b

It would be nice to restrict the usage of pthread_setrunon_np to IRIX 6.5


-- 
           Summary: Acats faillures due to undefined pthread_setrunon_np
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: J dot J dot vanderHeijden at gmail dot com
 GCC build triplet: mips-sgi-irix6.2
  GCC host triplet: mips-sgi-irix6.2
GCC target triplet: mips-sgi-irix6.2


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


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-38400-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-07-19 14:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-04 13:42 [Bug ada/38400] New: Acats faillures due to undefined pthread_setrunon_np J dot J dot vanderHeijden at gmail dot com
2008-12-10 11:55 ` [Bug ada/38400] " laurent at guerby dot net
2008-12-11 11:09 ` J dot J dot vanderHeijden at gmail dot com
2008-12-11 11:15   ` Arnaud Charlet
2008-12-11 11:16 ` charlet at adacore dot com
2008-12-15 16:42 ` J dot J dot vanderHeijden at gmail dot com
2008-12-15 16:50 ` J dot J dot vanderHeijden at gmail dot com
     [not found] <bug-38400-4@http.gcc.gnu.org/bugzilla/>
2011-07-19 14:49 ` ro at gcc dot gnu.org

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