[Bug 196854] devel/psptoolchain-binutils fails to build with GCC 4.9 (due to "warnings as errors")
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 18 23:04:12 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196854
Bug ID: 196854
Summary: devel/psptoolchain-binutils fails to build with GCC
4.9 (due to "warnings as errors")
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: gerald at FreeBSD.org
CC: tphilipp at potion-studios.com
Blocks: 196712
CC: tphilipp at potion-studios.com
Flags: maintainer-feedback?(tphilipp at potion-studios.com)
This is important since it blocks the upgrade of the default version
of GCC from GCC 4.8 to GCC 4.9. If you cannot fix it, please change
to USE_GCC=4.8 temporarily.
Better yet, update to a reasonably recent version of binutils.
http://package18.nyi.freebsd.org/data/101amd64-default-PR196712/2015-01-16_07h05m42s/logs/errors/psptoolchain-binutils-2.22_1.log
libtool: compile: gcc49 -DHAVE_CONFIG_H -I. -I. -I. -I./../include
-DHAVE_bfd_elf32_littlemips_vec -DHAVE_bfd_elf32_bigmips_vec
-DHAVE_bfd_elf64_bigmips_vec -DHAVE_bfd_elf64_littlemips_vec
-DHAVE_bfd_elf64_little_generic_vec -DHAVE_bfd_elf64_big_generic_vec
-DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
-DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wshadow -Werror -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc49
-fno-strict-aliasing -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c opncls.c -o
opncls.o
In file included from opncls.c:26:0:
opncls.c: In function 'bfd_fopen':
bfd.h:524:65: error: right-hand operand of comma expression has no effect
[-Werror=unused-value]
#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
^
opncls.c:249:5: note: in expansion of macro 'bfd_set_cacheable'
bfd_set_cacheable (nbfd, TRUE);
^
cc1: all warnings being treated as errors
Makefile:1537: recipe for target 'opncls.lo' failed
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer CC'd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list