lang/v8 needs -fno-strict-aliasing to compile properly, so if CFLAGS is defined outside the port's Makefile (e.g. in /etc/make.conf) and does not contain -fno-strict-aliasing then default value of CFLAGS gets overwritten and building fails. Merry Christmas, Panagiotis Fix: See attached patch (could be done in a better way i suppose). Patch attached with submission follows: How-To-Repeat: Have something like "CFLAGS=-O -pipe" and try to build lang/v8: # echo "CFLAGS=-O -pipe" >> /etc/make.conf # cd /usr/ports/lang/v8 # make
Responsible Changed From-To: freebsd-ports-bugs->vanilla Over to maintainer (via the GNATS Auto Assign Tool)
vanilla 2011-12-25 15:33:41 UTC FreeBSD ports repository Modified files: lang/v8 Makefile distinfo lang/v8/files patch-SConstruct Removed files: lang/v8/files patch-platform-freebsd.cc Log: 1: Upgrade to 3.8.2. 2: handle '-fno-strict-aliasing'. PR: ports/163606 Submitted by: Panagiotis Christias <p.christias at noc.ntua.gr> [2] Revision Changes Path 1.12 +9 -1 ports/lang/v8/Makefile 1.9 +2 -2 ports/lang/v8/distinfo 1.3 +3 -3 ports/lang/v8/files/patch-SConstruct 1.2 +0 -136 ports/lang/v8/files/patch-platform-freebsd.cc (dead) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks.