Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2015 19:07:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199905] PCH bustage when building with GCC on -CURRENT kernel: fatal error: had to relocate PCH (7 ports)
Message-ID:  <bug-199905-13-B6CXS8dLde@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199905-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199905-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199905

--- Comment #18 from Bryan Drewery <bdrewery@FreeBSD.org> ---
(In reply to Dmitry Marakasov from comment #13)
> (In reply to Jan Beich from comment #12)
> As far as I remember, gcc from ports has some problems with precompiled
> headers by itself. I've ran into it in games/redeclipse.
> 
> Also, what are OSVERSION in which gcc was fixed? Actually I don't see
> relevant commits to contrib/gcc even in HEAD. Am I looking in a wrong place?

It hasn't been fixed. It needs to be, but doesn't change this PR at all as
noted before. Sure an EN would be great if there was a fix for gcc and re@
cared enough to release it. I doubt they would deem it worth the effort. Even
then I would still want the changes in this PR since it's not reasonable to
expect people to have the latest EN installed to avoid a build error that is
easily avoided and only was there for a slight build optimization.

Also note that while this issue is appearing on 11, it has been a bug in GCC
for over a decade IIRC. Just google for the issue and you'll find references to
it for other systems as well. The GCC PCH errors did occur with FreeBSD <11
with boost quite often for me as well. The changes in 11 just make it more
consistently obviously broken.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199905-13-B6CXS8dLde>