public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/49944] New: [4.5/4.6/4.7 regression] Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:856:10: "pthread_attr_setaffinity_np" is undefined (more references follow)"
@ 2011-08-02 10:45 ludovic@ludovic-brenta.org
  2011-08-02 10:51 ` [Bug ada/49944] " charlet at adacore dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 17+ messages in thread
From: ludovic@ludovic-brenta.org @ 2011-08-02 10:45 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.5/4.6/4.7 regression] Bootstrapping on
                    x86_64-pc-kfreebsd-gnu fails with
                    "s-taprop.adb:856:10: "pthread_attr_setaffinity_np" is
                    undefined (more references follow)"
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ludovic@ludovic-brenta.org
              Host: x86_64-pc-kfreebsd-gnu
            Target: x86_64-pc-kfreebsd-gnu
             Build: x86_64-pc-kfreebsd-gnu


The following commit changed s-osinte-linux.ads but not
s-osinte-kfreebsd-gnu.ads; this breaks bootstrapping on GNU/kFreeBSD:


        * adaint.c (__gnat_pthread_setaffinity_np,
        __gnat_pthread_attr_setaffinity_np): Remove wrappers, no longer needed.
        * s-osinte-linux.ads (pthread_setaffinity_np,
        pthread_attr_setaffinity_np): Remove use of wrappers.
        * s-taprop-linux.adb (Create_Task, Initialize): Restore check to verify
        whether the affinity functionality is available in the OS.
        * gcc-interface/utils.c: Set TREE_STATIC on functions only when there
        are defined.



    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165635
138bc75d-0d04-0410-961f-82ee72b054a4

This is because GNU/kFreeBSD uses s-taprop-linux.adb, which uses subprograms
defined in either s-osint-linux.ads or s-osint-kfreebsd-gnu.ads depending on
the host.


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

end of thread, other threads:[~2015-06-26 20:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02 10:45 [Bug ada/49944] New: [4.5/4.6/4.7 regression] Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:856:10: "pthread_attr_setaffinity_np" is undefined (more references follow)" ludovic@ludovic-brenta.org
2011-08-02 10:51 ` [Bug ada/49944] " charlet at adacore dot com
2011-08-02 10:53   ` Arnaud Charlet
2011-08-02 10:54 ` charlet at adacore dot com
2011-08-02 17:31 ` ludovic@ludovic-brenta.org
2011-08-02 17:42   ` Arnaud Charlet
2011-08-02 17:42 ` charlet at adacore dot com
2011-08-04 10:21 ` ludovic@ludovic-brenta.org
2011-09-29 13:13 ` rguenth at gcc dot gnu.org
2011-10-10 12:17 ` rguenth at gcc dot gnu.org
2012-07-02 12:49 ` [Bug ada/49944] [4.6/4.7/4.8 " rguenth at gcc dot gnu.org
2013-04-12 15:15 ` [Bug ada/49944] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
2014-06-12 13:44 ` [Bug ada/49944] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:34 ` [Bug ada/49944] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-06-23  8:13 ` [Bug ada/49944] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
2015-06-26 20:04 ` [Bug ada/49944] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:33 ` jakub 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).