This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/34717] New: Ada runtime improvements for OpenBSD to enable tasking and related features
- From: "tero dot koskinen at iki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2008 19:57:33 -0000
- Subject: [Bug ada/34717] New: Ada runtime improvements for OpenBSD to enable tasking and related features
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Ada runtime of gcc trunk (r131371) does not have OpenBSD specific sections, so
the pthreads library and related features are not used/enabled on OpenBSD.
Patch at http://iki.fi/tero.koskinen/gcc/gcc-ada-gnattools-tasking.diff adds
files a-intnam-openbsd.ads, g-soccon-openbsd.ads, s-osinte-openbsd.adb,
s-osinte-openbsd.ads and system-openbsd-x86.ads, and modifies the build system
to use them on OpenBSD/x86. (gcc/ada/gsocket.h is also modified to avoid some
build errors.)
After the patch, configure option "--with-threads=gnat" enables tasking for
OpenBSD on x86 platform.
Mentioned *openbsd*.ad[bs] files are almost direct copies of FreeBSD
equivalents. Only few magic numbers/constants are changed.
The patch is tested on OpenBSD/x86 4.2-current.
Earlier version of this patch (for gcc 4.2) was joint work with Markus
Hennecke.
(See http://marc.info/?l=openbsd-ports&m=117679065130354&w=2 for details.)
--
Summary: Ada runtime improvements for OpenBSD to enable tasking
and related features
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tero dot koskinen at iki dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34717