Skip to content
New issue

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

propgcc does not build on latest Mac OS X (10.9 Mavericks) binutils build fails #64

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Download latest propgcc sources to Mac OS X Mavericks (10.9)
2. 'source' setenv_macosx to set Mac OS type build
3. 'sudo ./jbuild.sh'

What is the expected output? Expected propgcc to build

What do you see instead? Error building read elf.c in binutils

[code]
../../../propgcc/binutils/binutils/readelf.c:9051:20: error: adding 'int' to a 
string does not append to the string
      [-Werror,-Wstring-plus-int]
    fputs ("     " + n, stdout);
           ~~~~~~~~^~~
../../../propgcc/binutils/binutils/readelf.c:9051:20: note: use array indexing 
to silence this warning
    fputs ("     " + n, stdout);
                   ^
           &       [  ]
1 error generated.
make[4]: *** [readelf.o] Error 1
[/code]


What version of the product are you using? Propgcc version is 
propellergcc_v0_3_5_2255  On what operating system? Mac OS X 10.9


Please provide any additional information below.  A solution for this problem 
has been described at stack overflow.com 
(http://stackoverflow.com/questions/20337422/cross-compiling-binutils-on-os-x). 
Basically, update binutils to a newer version or change one line in readelf.c 
("use: puts (&" "[n], stdout);")

Original issue reported on code.google.com by [email protected] on 31 Dec 2013 at 6:01

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant