FS#40339 - [sdcc] build fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Monday, 12 May 2014, 23:17 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 19 May 2014, 10:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -DHAVE_asxxxx_vec -DBINDIR='"/usr/bin"' -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -I. -I. -I././support/util -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c -o opncls.lo opncls.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -DHAVE_asxxxx_vec -DBINDIR=\"/usr/bin\" -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -I. -I. -I././support/util -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -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:529: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:261:5: note: in expansion of macro 'bfd_set_cacheable'
bfd_set_cacheable (nbfd, TRUE);
^
cc1: all warnings being treated as errors
Makefile:1312: recipe for target 'opncls.lo' failed



Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 19 May 2014, 10:39 GMT
Reason for closing:  Fixed
Comment by Anatol Pomozov (anatolik) - Monday, 12 May 2014, 23:49 GMT
It is similar to  FS#40337  the problem is that old GDB has compilation error.

Loading...