[Bug sanitizer/86275] gcc-8.1, linux 4.18-rc1, x86_64: error: redefinition of 'struct timespec'

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 22 09:04:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86275

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot gnu.org

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> I think Florian said glibc is adding a workaround for this instead:

Then I'm unassigning.

Martin

> 
> > So I'm going to propose defining _STRUCT_TIMESPEC in                                                                                             
> > <bits/types/struct_timespec.h> on the glibc side.  Hopefully this will fix                                                                       
> > things again.                                                                                                                                    
> 
> Note, gcc still doesn't build against latest glibc due to
> https://github.com/golang/go/issues/25990


More information about the Gcc-bugs mailing list