Bug 174388 - [patch] 9.1-RELEASE build world problem with yyparser.
Summary: [patch] 9.1-RELEASE build world problem with yyparser.
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-12 11:50 UTC by Marcelo Araujo
Modified: 2015-11-10 08:20 UTC (History)
0 users

See Also:


Attachments
file.diff (20.44 KB, patch)
2012-12-12 11:50 UTC, Marcelo Araujo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Araujo freebsd_committer freebsd_triage 2012-12-12 11:50:00 UTC
There are bunch of updates related with yyparse that were added on HEAD but were forgotten to MFC'd to STABLE for some reason and those updates are not part of 9.1-RELEASE.

When you try to build WORLD using CLANG, you will see a lot of issues related with yyparse.

Here is my /etc/make.conf
 added by use.perl 2012-10-03 21:06:29
PERL_VERSION=5.14.2

.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == "cpp"
CPP=clang-cpp 
.endif

NO_WERROR=
WERROR=
NO_FSCHG=

Fix: Here attached there is a patch, all updates comes from HEAD, and it works properly.

Patch attached with submission follows:
How-To-Repeat: Just try to make the buildworld using CLANG.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-03-10 05:08:05 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-bugs

reclassify.  affects various parts of src tree.
Comment 2 Marcelo Araujo freebsd_committer freebsd_triage 2015-11-10 08:20:30 UTC
I'm not use 9.1-RELEASE anymore and with the other RELEASES I don't have any issue like this one.