Many linker warnings after update to Xcode 8.3 about not aligned pointer address
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
-
Reporter name: Karl-Michael Schindler
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
- Reporter name: Karl-Michael Schindler
Description:
Compiling test.pas
Assembling (pipe) test.s
Linking test
ld: warning: pointer not aligned at address 0x1000218CF (RTTI$SYSTEM_$$_openchararray + 31 from /sw/lib/fpc/3.0.2/units/x86_64-darwin/rtl/system.o)
and many more.
The program works, but the warnings are a nuisance.
Rebuilding fpc from sources did not fix it, 3.0.2 or 3.1.1.
Also the same for i386-darwin.
I also tried to enforce alignment during rebuilding fpc with -Oa=16, but it did not fix it.
The compiler D seems to have the same issue: https://issues.dlang.org/show_bug.cgi?id=17289
Mantis conversion info:
- Mantis ID: 31696
- OS: Mac OS X
- OS Build: 10.5, 10.6
- Platform: darwin
- Version: 3.0.2
- Monitored by: » @michaliskambi (Michalis Kamburelis)