Re: [Qemu-devel] [PATCH v2] Fix linking relocatable objects on Sparc

2016-06-07 Thread Michael Tokarev
06.06.2016 14:02, James Clarke wrote: > On Sparc, gcc implicitly passes --relax to the linker, but -r is > incompatible with this. Therefore, if --no-relax is supported, it should > be passed to the linker. Applied to -trivial instead of the initial version. Thanks, /mjt

[Qemu-devel] [PATCH v2] Fix linking relocatable objects on Sparc

2016-06-06 Thread James Clarke
On Sparc, gcc implicitly passes --relax to the linker, but -r is incompatible with this. Therefore, if --no-relax is supported, it should be passed to the linker. Signed-off-by: James Clarke --- Hi Peter, Sorry about that, I wasn't building in a git repository, so werror was set to no (I was unaw