We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
I think this is because the newer GCC versions break propgcc. I have the same type of issue, latest version of debian has GCC v8(or 7) which breaks it. You need to use docker. https://forums.parallax.com/discussion/comment/1455136/#Comment_1455136
You could try the propgcc that the above docker uses, it might have some fixes.. https://github.com/dbetz/propeller-gcc
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: