OS/2, eCS & ArcaOS - Technical > Programming
GCC - updates
KO Myung-Hun:
--- Quote from: Paul Smedley on February 18, 2025, 09:51:17 pm ---Thanks, but I checked and -Zomf is definitely being used :(
--- End quote ---
That's too bad. Then how about trying to build with kLIBC ? This could be a regression of LIBCn.
Paul Smedley:
Just noticed something weird about cc1.exe and cc1plus.exe - they have no EA's listed. The equivalent executables for GCC 14 (and rpm for that matter) have 124 bytes of EA's
Checking the command lines used to build now...
Edit:
Interesting, when built there are no EA's on GCC 14 or 15 - the install must add them....
Edit2: the EA's aren't the problem...
Edit3: found a misapplied diff in libiberty/argv.c - rebuilding....
KO Myung-Hun:
I've confirmed that there are no differences between kLIBC build and LIBCn build.
Paul Smedley:
--- Quote from: KO Myung-Hun on February 21, 2025, 09:29:13 am ---I've confirmed that there are no differences between kLIBC build and LIBCn build.
--- End quote ---
Thanks for trying. I looked at some obvious areas of code and can't see what's changed. Still have a few months before 15.1.0 is released :)
Paul Smedley:
So I installed a logging libc... the failed call from g++ is:
--- Code: ---0003dcb5 01 03 0001 Mesg 0002 __spawnve (2 ms): Calling DosExecPgm pgm: C:/usr/local1501/libexec/gcc/i686-pc-os2-emx/15/cc1plus.exe args: C:/usr/local1501/bin/../libexec/gcc/i686-pc-os2-emx/15/cc1plus.exe\0kLIBC\0\0
0003dcbf 01 03 0001 Mesg 0002 __spawnve (12 ms): DosExecPgm returned 170
0003dcbf 01 03 0000 Mesg 0010 _sys_set_errno: Set errno 16 for OS/2 error 170
--- End code ---
The only reference I can find to DosExecPgm and a return code of 170 is http://svn.netlabs.org/libc/ticket/131
Some clues...
GCC 14 - cc1plus.map - 2.8mb
GCC 15 - cc1plus.map - 19.7mb
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version