https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065
Nicolas Boulenguez <nicolas at debian dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58028|0 |1
is obsolete| |
--- Comment #24 from Nicolas Boulenguez <nicolas at debian dot org> ---
Created attachment 58060
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58060&action=edit
timeval timespec: merge all definitions, select 32 or 64 bits variants on glibc
Hello.
The second issue is caused by glibc implementing (on architectures where time_t
was 32 bits by default)
gettimeofday
__gettimeofday64
and #defining gettimeofday __gettimeofday64 if __USE_TIME_BITS64.
Ada, ignoring this, was still importing the 32 bits version.
The attached archive patches all such issues as far as I know.
The patch has been tested on x86_64-linux-gnu (time_t64 is the default) and
arm-linux-gnueabihf (time_t64 is affected by __USE_TIME_BITS64).