arts639 / in-app-purchase-air-ios

Automatically exported from code.google.com/p/in-app-purchase-air-ios
0 stars 0 forks source link

Please enable PIE and recompile ANE #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compiling an ipa with this iOS iap purchase ANE now produces the following 
warning as of Air 3.7, and possibly earlier, which it didn't do before, in Air 
3.1:

ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not 
allowed in code signed PIE, but used in _llvm_unwind from AOTBuildOutput-0.o. 
To fix this warning, don't compile with -mdynamic-no-pic or link with 
-Wl,-no_pie

2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Air 3.7's command-line adt.bat, in Windows Vista

Please provide any additional information below.

Apparently this warning started appearing since the switch to xcode 4.6 ( 
possibly 4.5 ).  To fix, please recompile the ANE, with the build settings 
"create position independent executables" changed from NO to Yes.

Original issue reported on code.google.com by pascal.l...@gmail.com on 12 May 2013 at 5:22

GoogleCodeExporter commented 9 years ago
err:  xcode build setting is "Don't create position independent executables", I 
believe.

Original comment by pascal.l...@gmail.com on 12 May 2013 at 5:25