[Bug 199905] PCH bustage when building with GCC on -CURRENT kernel: fatal error: had to relocate PCH (7 ports)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 14 19:07:45 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199905

--- Comment #18 from Bryan Drewery <bdrewery at 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.


More information about the freebsd-ports-bugs mailing list