News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

GCC - updates

Started by Paul Smedley, March 16, 2022, 09:57:02 AM

Previous topic - Next topic

Dave Yeo

Quote from: Dave Yeo on May 04, 2025, 07:44:53 AM
[Even better, any idea where the -Werror comes from?

Of course. dooble.pro

Paul Smedley

even better - then you do'nt have to keep removing it :)

Dave Yeo

Unluckily, another problem which I have a vague feeling you figured out before. Using

L:\qt6-6.2.x\bin>bldlevel qmake.exe
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#cmake build system:0.0#@##1## 18 Jan 2025 18:18:51     ARCAOS-803C4C0::::0::@@qmake
Vendor:          cmake build system
Revision:        0.00
Date/Time:       18 Jan 2025 18:18:51
Build Machine:   ARCAOS-803C4C0
ASD Feature ID:  4C0
File Version:    0.0
Description:     qmake


I get,

[K:\work\dooble-dry\build]make
L:/QT6-6.2.X/bin/qmake.exe -o Makefile K:/work/dooble-dry/dooble.pro
Assertion failed: _UM_LUMP_STATUS (olump) == _UMS_FREE, file U:/DEV/libc-git/src
/emx/src/lib/malloc/ialloc.c, line 116

Killed by SIGABRT
pid=0x0911 ppid=0x0910 tid=0x0001 slot=0x00c3 pri=0x0200 mc=0x0001 ps=0x0010
L:\QT6-6.2.X\BIN\QMAKE.EXE
Creating 0911_01.TRP
Moved 0911_01.TRP to W:\var\log\app\68169e12-0911_01-QMAKE-exceptq.txt
make: *** [Makefile:515: Makefile] Abort trap


Trp attached.
Also want to test changing -O3 to -O2. Over optimization really made Mozilla unstable.

Paul Smedley

#123
I fixed a similar TRP in qmake for Qt 6.8 - never seen it before in 6.2.x... Interestingly, the TRP looks similar to the one in Qt 6.8.x - perhaps its some kind of compiler optimisation issue?

Edit: I think https://github.com/psmedley/qt6-base-os2/commit/528a156563fee77b310f8bd120c7a7f9178fb802 might be the fix for this. I don't think this fix has made it into a public build. Perhaps rebuild qt6core.dll if you can locally and see if it helps.

Dave Yeo

It did work here, though the trp seems familiar.
I'll reinstall Qt6 tomorrow and see if that helps.

Paul Smedley

Turns out I had an updated qt6core.dll built, I just guess I didn't package it up. https://smedley.id.au/tmp/qt6-6.2.x-qt6core-20250204.zip

Dave Yeo

Quote from: Paul Smedley on May 04, 2025, 08:43:01 AM
Turns out I had an updated qt6core.dll built, I just guess I didn't package it up. https://smedley.id.au/tmp/qt6-6.2.x-qt6core-20250204.zip

Thanks, that fixed it

[K:\work\dooble-dry\build]make
L:/QT6-6.2.X/bin/qmake.exe -o Makefile K:/work/dooble-dry/dooble.pro
Project MESSAGE: The QtCharts module has been discovered.
make: Nothing to be done for 'first'.


need a make clean or such

Paul Smedley

GCC 14.3.0 was released a few days ago - OS/2 binaries at https://smedley.id.au/tmp/gcc-14.3.0-os2-20250525.zip

Martin Iturbide

Thanks Paul. I also posted it on the OS2World news to see if we get more feedback.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

binaries to follow:
gcc.exe (GCC) 15.2.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Paul Smedley


Martin Iturbide

Thank you very much Paul. I can not provide feedback on this, but I appreciate it since gcc is very important to us, to port things from the Linux world.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

KO Myung-Hun

Hi/2.

Quote from: Paul Smedley on August 10, 2025, 11:22:42 AM
Only tested to confirm it can build itself.... https://smedley.id.au/tmp/gcc-15.2.0-os2-20250810.zip

This passed my regression test set. Thanks!

Paul Smedley

Thanks for testing KO!

TeLLie

Hi Paul,

Did test on some small progs, so far so good :)

Greetz Tellie