-
Notifications
You must be signed in to change notification settings - Fork 172
Assembler test fails for 32-bit x86 target on 64-bit host #1962
Comments
Looks like the CMAKE_ASM-ATT_FLAGS variables in loader/CMakeList.txt needs to be cached. I'm doing some more testing and will create a pull request today. |
I don't think this was a fix actually, still looking for solutions... |
This has been reported to Gentoo as bug 625844. They report that this is an issue in 1.0.54.0 and is still present in 1.0.61.1. I'm sure there would be some users on there happy to help test out potential patches if that would help? |
@johnzupin I was wondering how finding a solution for this has been going? |
@lenny-lunarg: Can you review my fix when you get in on next week please. |
This should now be resolved with commit 488a6ea. The problem was that the try_compile test was also attempting to link with the --32 argument. This should now be resolved. |
Should this work when backported to 1.0.61.1? Tried it on Gentoo and it didn't work for me. |
@saboya, this commit only addresses part of the problem on Gentoo. An eclass change will deal with the rest. |
Recently introduced try_compile test (a710032) doesn't work for 32-bit x86 target on 64-bit host. I export "ASFLAGS=--32" variable, "--32" is being added to the linker flags and test fails.
With --debug-trycompile cmake option I get this:
My cmake version: 3.7.2.
The text was updated successfully, but these errors were encountered: