: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: alan at octopull dot co.uk
CC: marxin at gcc dot gnu.org
Target Milestone: ---
ODR violations can occur in structures defined in headers whose contents depend
on the inclusion context. For example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372
--- Comment #10 from Alan Griffiths ---
It took me some time and effort to reproduce too. :(
Building in my normal development environments showed no problems. And I've yet
to reproduce on Ubuntu (although the builders we use fail building for 1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372
--- Comment #7 from Alan Griffiths ---
cd
/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/server/frontend/wayland
&& /usr/bin/c++ -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS
-DMIR_DRMMODEADDFB_HAS_CONS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372
--- Comment #5 from Alan Griffiths ---
It isn't clear why, but the problem seems to be provoked by this function:
int mf::WaylandConnector::client_socket_fd() const
{
enum { server, client, size };
int socket_fd[size];
if (socketpai
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372
Alan Griffiths changed:
What|Removed |Added
Attachment #42841|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372
--- Comment #2 from Alan Griffiths ---
Created attachment 42841
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42841&action=edit
Preprocessed source
So far, I've only seen the error on "builders" where I don't have access (i.e.
I've so far
: unassigned at gcc dot gnu.org
Reporter: alan at octopull dot co.uk
Target Milestone: ---
Created attachment 42839
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42839&action=edit
build log including gcc dump
g++7.2.0 on Ubuntu Artful AMD64:
https://launchpadlibrarian.net/34