Why does rr require 32-bit cross-compilation?

Paul Omta p.omta at np-komplete.com
Wed Feb 3 14:13:22 UTC 2016

Thanks to all for the information and fast replies.
I've made a pull request for the new option.

On 2016-02-02 20:26, Ted Mielczarek wrote:
> On Tue, Feb 2, 2016, at 10:18 AM, Robert O'Callahan wrote:
>> On Tue, Feb 2, 2016 at 11:48 PM, Paul Omta <p.omta at np-komplete.com <mailto:p.omta at np-komplete.com>> wrote:
>>     Dear list members,
>>     I am a software engineer in the EDA industry and I've been trying to build rr.
>>     Everything that I am trying to debug has 64-bit, but rr requires 32-bit cross-compilation. Can anybody explain why this is the case? Is there a CMake option to disable 32-bit?
>> There isn't an option to disable 32-bit, but someone should add one! I can probably do it, but I'm traveling today so I won't be able to do it immediately.
> FWIW, you'd want to wrap the check for a 32-bit toolchain here in a conditional:
> https://github.com/mozilla/rr/blob/4ad2055d6b4cd5729c99724e6dc4ac6dee90315b/CMakeLists.txt#L27
> and the 32-bit libs and tests here:
> https://github.com/mozilla/rr/blob/4ad2055d6b4cd5729c99724e6dc4ac6dee90315b/CMakeLists.txt#L252
> https://github.com/mozilla/rr/blob/4ad2055d6b4cd5729c99724e6dc4ac6dee90315b/CMakeLists.txt#L750
> You can see an example of a build option in the "force32bit" option in that file:
> https://github.com/mozilla/rr/blob/4ad2055d6b4cd5729c99724e6dc4ac6dee90315b/CMakeLists.txt#L39
> -Ted
> _______________________________________________
> rr-dev mailing list
> rr-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rr-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rr-dev/attachments/20160203/2fb30825/attachment.html>

More information about the rr-dev mailing list