Lazarus 2.2.0 RC1 - macOS - i386 builds produce warning messages
- Operating System: macOS 10.14.6
- CPU / Bitness: 64 Bit
What happens
Compiling the default nothing application for i386 via "Run Without debugging" results in various warning messages:
- Compiling resource /Users/trev/tmp/lib/i386-darwin/project1.or
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: could not create compact unwind for _SYSTEM_
$_DO_GETDIR
BYTE$RAWBYTESTRING: stack subl instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _LNFODWRF_$_DWARFBACKTRACESTR
POINTER$$SHORTSTRING: stack subl instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _BASEUNIX__FPGETCWD
RAWBYTESTRING: stack subl instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _UNIX_$_READTIMEZONEFILE
SHORTSTRING: stack subl instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _UNIX__GETHOSTNAME
SHORTSTRING: stack subl instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _CLASSES_
TPARSER___
$_HEXTOBINARY$TSTREAM: stack subl instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _CLASSES_
TBINARYOBJECTREADER__SKIPVALUE_
$_SKIPBYTES$LONGINT: stack subl instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _JCMASTER_$_VALIDATE_SCRIPT
J_COMPRESS_PTR: stack subl instruction is too different from dwarf stack size (9015) Linking /Users/trev/tmp/project1 ld: warning: could not create compact unwind for _TERMIO_
TTYNAME$LONGINTSHORTSTRING_
_MYSEARCHSHORTSTRING
$BOOLEAN: stack subl instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _JCHUFF_$_JPEG_GEN_OPTIMAL_TABLE
J_COMPRESS_PTRJHUFF_TBL_PTR
TLONGTABLE: stack subl instruction is too different from dwarf stack size (1008) 52 lines compiled, 1.3 sec (1022) 2 hint(s) issued
No such warning messages if compiling for 64 bit.
Compiling for i386 via "Run" (ie with debugging + Dwarf 3) results in the error messages above plus a popup window titled "Debugger Warning" with content "The debugger encountered some errors/warnings while launching the target application. Press OK to continue debugging, Press Stop to end the debug session"
What did you expect
No warnings as when compiling for x86_64.
Note: The application is successfully built and runs.
Steps to reproduce
Install Lazarus 2.2.0 RC1, compile the default nothing application as above for 32 bit.