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

Cross compile issues(MacOSX) #11

Open
DanielKristofKiss opened this issue May 4, 2014 · 7 comments
Open

Cross compile issues(MacOSX) #11

DanielKristofKiss opened this issue May 4, 2014 · 7 comments
Assignees
Labels

Comments

@DanielKristofKiss
Copy link

Toolchain is compilable on Mac OSX.
latest tested version by me(8171c73)

The SDK is not compilable due to multiple issues in the build scripts:
ln does not have -T option, it need to be removed
target directory should not exist when the ln is called. mkdir is not required before ln.
cp does not have -D option, also need to be removed

makefiles referes to the "gcc" as compiler for the sdk components. it should be the arm-parallella-host-gcc or the e-gcc. without specifying the gcc it will be the host(osx) default compiler.

@jeremybennett jeremybennett self-assigned this May 5, 2014
@jeremybennett
Copy link
Contributor

Hi Daniel,

Thanks for the bug report. Glad to hear the tool chain compiles OK for you.

We have scheduled work to fix the SDK build system, which should resolve all your issues. Please bear with us. I've labeled this issue as a bug and assigned it to me, so you can track it.

@mtaveniku
Copy link

We have fixed the cross compile and some other minor issues

It should be on the git after tests

Mikael
From mobile device

On May 5, 2014, at 16:12, Jeremy Bennett notifications@github.com wrote:

Hi Daniel,

Thanks for the bug report. Glad to hear the tool chain compiles OK for you.

We have scheduled work to fix the SDK build system, which should resolve all your issues. Please bear with us. I've labeled this issue as a bug and assigned it to me, so you can track it.


Reply to this email directly or view it on GitHub.

@DanielKristofKiss
Copy link
Author

Sounds really good. Thanks!
I will compile it when it will be on git.

@zhongliangong
Copy link

@jeremybennett - Unlike Daniel, I had the arm-linux-gnueabihf (I didn't check here before heading to the forums - my bad).

  • To quote your post in the forum (let me know if I'm reposting it at the wrong place):
The build scripts assume that if you are not building on the ARM, then your compiler has the prefix arm-linux-gnueabihf-. Please would you raise this as an issue on the SDK issue tracker, so we can get it fixed. It ought to be something that is user configurable.

@jeremybennett jeremybennett assigned bcxcube and unassigned mtaveniku May 28, 2014
@jeremybennett
Copy link
Contributor

I've reassigned to Ben Chaco, since he has been developing the build scripts.

@glouis14
Copy link

Mac build doesn't work for me.
Initial error message was:
ld: 255 duplicate symbols for architecture x86_64

After following suggestions by user rsneekes the toolchain builds OK.
The SDK however stopped with this message:
make: arm-linux-gnueabihf-g++: No such file or directory

After applying the changes made by jeremeybennett this changed to:
/bin/sh: -Wall: command not found

Please check this forum discussion for details:
http://forums.parallella.org/viewtopic.php?f=13&t=966

Thanks,
Sukandar

@jeremybennett
Copy link
Contributor

Sukandar,

I think you have a different problem. Would you raise it as a separate issue, so we can track independently.

Thanks,

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

No branches or pull requests

6 participants