-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Platform: ubuntu 16.04 LTS
gcc: gcc version 5.4.0 20160609
I am trying to make for propeller-gcc compiler source https://github.com/parallaxinc/propgcc and I am getting the error below:
-DHAVE_bfd_elf32_propeller_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR="/opt/parallax/bin" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c /home/kayegee/Downloads/SimpleIDE/Propgcc/propgcc-master/binutils/bfd/opncls.c -o opncls.o
In file included from /home/kayegee/Downloads/SimpleIDE/Propgcc/propgcc-master/binutils/bfd/opncls.c:26:0:
/home/kayegee/Downloads/SimpleIDE/Propgcc/propgcc-master/binutils/bfd/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)
^
/home/kayegee/Downloads/SimpleIDE/Propgcc/propgcc-master/binutils/bfd/opncls.c:257:5: note: in expansion of macro ‘bfd_set_cacheable’
bfd_set_cacheable (nbfd, TRUE);
^
cc1: all warnings being treated as errors
Makefile:1575: recipe for target 'opncls.lo' failed
make[5]: *** [opncls.lo] Error 1
make[5]: Leaving directory '/home/kayegee/Downloads/SimpleIDE/Propgcc/build/binutils/bfd'
Makefile:1617: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/kayegee/Downloads/SimpleIDE/Propgcc/build/binutils/bfd'
Makefile:1108: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/kayegee/Downloads/SimpleIDE/Propgcc/build/binutils/bfd'
Makefile:2505: recipe for target 'all-bfd' failed
make[2]: *** [all-bfd] Error 2
make[2]: Leaving directory '/home/kayegee/Downloads/SimpleIDE/Propgcc/build/binutils'
Makefile:837: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/kayegee/Downloads/SimpleIDE/Propgcc/build/binutils'
Makefile:162: recipe for target '/home/kayegee/Downloads/SimpleIDE/Propgcc/propgcc-master/../build/binutils/binutils-built' failed
make: *** [/home/kayegee/Downloads/SimpleIDE/Propgcc/propgcc-master/../build/binutils/binutils-built] Error 2