[Bug ada/49940] [4.5/4.6/4.7 regression] Bootstrapping on x86_64-pc-kfreebsd-gnu fails with s-taprop.adb:717:32: lwp_self is undefined

2011-08-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49940 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Target

[Bug ada/49940] [4.5/4.6/4.7 regression] Bootstrapping on x86_64-pc-kfreebsd-gnu fails with s-taprop.adb:717:32: lwp_self is undefined

2011-08-02 Thread charlet at adacore dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49940 --- Comment #1 from charlet at adacore dot com charlet at adacore dot com 2011-08-02 13:46:01 UTC --- The function __gnat_lwp_self exists in adaint.c only #if defined(linux), so it may not apply to kfreebsd-*. The problem exists because

[Bug ada/49940] [4.5/4.6/4.7 regression] Bootstrapping on x86_64-pc-kfreebsd-gnu fails with s-taprop.adb:717:32: lwp_self is undefined

2011-08-02 Thread ludo...@ludovic-brenta.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49940 --- Comment #2 from Ludovic Brenta ludo...@ludovic-brenta.org 2011-08-02 17:39:02 UTC --- I found that declaring lwp_self in s-osinte-kfreebsd-gnu.ads similarly to the declaration in s-osinte-freebsd.ads fixed the problem. Patch submitted as