This showed up on corner-case testing: 
https://github.com/weidai11/cryptopp/issues/584 . Though the machine is 
64-bit Aarch64, the -mabi=ilp32 switches to an ILP32 data model. Its is 
similar to X32 on x86_64, where the machine is 64-bit but the data model is 
ILP32.

Testing a hello world program on the Aarch64 machine under the data model 
fails to link:

  $ cat test.cxx
  #include <stdint.h>
  #include <iostream>
  #include <iomanip>
  
  int main(int argc, char* argv[])
  {
      uint64_t x = __SIZE_MAX__;
      std::cout << std::hex << x << std::endl;
      return 0;
  }

And:

  $ g++ -mabi=ilp32 test.cxx -o test.exe
  /usr/bin/ld: skipping incompatible 
/usr/lib/gcc/aarch64-linux-gnu/4.9/libstdc++.so when searching for -lstdc++
  /usr/bin/ld: skipping incompatible 
/usr/lib/gcc/aarch64-linux-gnu/4.9/libstdc++.a when searching for -lstdc++
  /usr/bin/ld: cannot find -lstdc++
  ...

So I am not sure how much of a problem it is going to be in practice.

Does anyone have a preference on clearing the warning at 
https://github.com/weidai11/cryptopp/issues/584 ?

Jeff


-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to