Restore ld_bfd finding libgcc to link with it, fix bootstrap build for linux-armhf#33
Restore ld_bfd finding libgcc to link with it, fix bootstrap build for linux-armhf#33illwieckz wants to merge 1 commit into
Conversation
|
How are you using it? It works for me in the Scons build for both GCC and Clang. With Clang ( With GCC ( Anyway surely you don't need this junk? It was described as only being needed to avoid using |
| # We just have to hope the system binutils knows about the target platform | ||
| args = ["ld.bfd"] + args | ||
|
|
||
| libgcc = FindLibgcc(cxx_bin) |
There was a problem hiding this comment.
Shouldn't adding libgcc be inside the g++ detection block?
There was a problem hiding this comment.
Never mind, I remember now that the "g++" string depends on what architecture was used, not what compiler...
There was a problem hiding this comment.
You can have a libgcc on the system you compile with clang for, what matters there is to find libgcc when it's present (and then, less likely to be used).
slipher
left a comment
There was a problem hiding this comment.
This is OK to merge as it doesn't break anything. Though I wonder if there is some unintended difference in the build that makes this required. And with the caveat that it would be probably nicer to just call the desired linker directly.
Restore
ld_bfdfindinglibgccto link with it, fix bootstrap build forlinux-armhf.Fixup for:
Fixes: