[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216
--- Comment #2 from laurent at guerby dot net 2009-11-23 09:06 --- hpux11 mixes its own s-osinte spec with the posix body hence the issue: ifeq ($(strip $(filter-out hppa% hp hpux11%,$(targ))),) s-osinte.adbs-osinte-posix.adb \ s-osinte.adss-osinte-hpux.ads \ I missed this one sorry about that, patch coming. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42153
[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216
--- Comment #3 from laurent at guerby dot net 2009-11-23 09:06 --- Created an attachment (id=19089) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19089action=view) Patch for hpux11 Dave, could try this patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42153
[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216
--- Comment #4 from guerby at gcc dot gnu dot org 2009-11-23 14:57 --- Subject: Bug 42153 Author: guerby Date: Mon Nov 23 14:56:58 2009 New Revision: 154446 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154446 Log: 2009-11-23 Eric Botcazou ebotca...@adacore.com Laurent GUERBY laur...@guerby.net PR ada/42153 * s-osinte-linux.ads (struct_timeval): Delete. * s-osinte-hpux.ads (struct_timeval, To_Duration, To_Timeval): Delete. * s-osinte-kfreebsd-gnu.ads: Likewise. * s-osinte-rtems.ads: Likewise. * s-osinte-aix.ads: Likewise. * s-osinte-hpux-dce.ads: Likewise. * s-osinte-darwin.ads: Likewise. * s-osinte-solaris-posix.ads: Likewise. * s-osinte-irix.ads: Likewise. * s-osinte-solaris.ads: Likewise. * s-osinte-hpux-dce.adb (To_Duration, To_Timeval): Delete. * s-osinte-irix.adb: Likewise. * s-osinte-solaris.adb: Likewise. * s-osinte-rtems.adb: Likewise. Minor reformatting. * s-osinte-aix.adb (To_Duration, To_Timeval): Delete. (clock_gettime): Use cal.c timeval_to_duration. * s-osinte-darwin.adb: Likewise. Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/s-osinte-aix.adb trunk/gcc/ada/s-osinte-aix.ads trunk/gcc/ada/s-osinte-darwin.adb trunk/gcc/ada/s-osinte-darwin.ads trunk/gcc/ada/s-osinte-hpux-dce.adb trunk/gcc/ada/s-osinte-hpux-dce.ads trunk/gcc/ada/s-osinte-hpux.ads trunk/gcc/ada/s-osinte-irix.adb trunk/gcc/ada/s-osinte-irix.ads trunk/gcc/ada/s-osinte-kfreebsd-gnu.ads trunk/gcc/ada/s-osinte-linux.ads trunk/gcc/ada/s-osinte-rtems.adb trunk/gcc/ada/s-osinte-rtems.ads trunk/gcc/ada/s-osinte-solaris-posix.ads trunk/gcc/ada/s-osinte-solaris.adb trunk/gcc/ada/s-osinte-solaris.ads -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42153
[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2009-11-23 17:09 --- Presumably, thanks Laurent. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added CC||ebotcazou at gcc dot gnu dot ||org Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42153
[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216
--- Comment #1 from charlet at adacore dot com 2009-11-23 07:44 --- Subject: Re: New: s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216 Laurent, This one is for you, caused by revision 154407 (you should also double check other linux implementations for similar issues). TIA. /test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/ -B/opt/gnu/gcc/gcc -4.5.0/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11 /lib/ -isystem /opt/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/include -isystem /op t/gnu/gcc/gcc-4.5.0/hppa2.0w-hp-hpux11.11/sys-include-c -g -O2 -fPIC -frand om-seed=fixed-seed -W -Wall -gnatpg s-osinte.adb -o s-osinte.o s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216 s-osinte.adb:46:21: missing body for To_Timeval declared at s-osinte.ads:219 make[7]: *** [s-osinte.o] Error 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42153