Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: 1 ... 22 23 [24] 25 26 ... 140
346
Programming / Re: Compiling OpenJDK
« on: April 10, 2023, 05:17:41 am »
Depending how far you get, I'll have a crack at building it with gcc 12 tomorrow. I'll also post here once the GitHub import completes.

https://github.com/netlabsorg/odin32 is now complete I tried to match up the author's I knew to their GitHub profiles.

347
Programming / Re: Compiling OpenJDK
« on: April 10, 2023, 04:46:06 am »
The example app at https://www.codingninjas.com/codestudio/library/min-and-max-function-in-cpp includes <iostream> and <algorithm> and works...

348
Programming / Re: Compiling OpenJDK
« on: April 10, 2023, 02:46:01 am »
FYI: If you want to create the Odin and OpenJDK github repositories, you can do it under the Netlabsorg organization.
https://github.com/netlabsorg

I think you have access the create new repos now.

I set an import going to https://github.com/netlabsorg/odin32 - looks like it's going to take a while.....

349
Programming / Re: Qt6 Development
« on: April 09, 2023, 04:18:42 am »
About 500 files to go and I get the following:
Code: [Select]
{1}[u:\dev\qt6-webengine-os2-6.5.x\build\src\core\release\i386] mksnapshot --tur
bo_instruction_scheduling --target_os=os2 --target_arch=x86 --embedded_src gen/v
8/embedded.S --embedded_variant Default --random-seed 314159265 --startup_src ge
n/v8/snapshot.cc --no-native-code-counters
Assertion failed: _UM_LUMP_STATUS (olump) == _UMS_FREE, file ./libc-0.1.10/src/emx/src/lib/malloc/ialloc.c, line 116

Killed by SIGABRT
pid=0x33b0 ppid=0x0041 tid=0x0001 slot=0x007d pri=0x0200 mc=0x0001 ps=0x0010
U:\DEV\QT6-WEBENGINE-OS2-6.5.X\BUILD\SRC\CORE\RELEASE\I386\MKSNAPSHOT.EXE
Creating 33B0_01.TRP
Moved 33b0_01.TRP to C:\var\log\app\64313478-33b0_01-MKSNAPSHOT-exceptq.txt

Edit: Cheated for now and replaced mksnapshot with the version from Qt 6.4.x

OK so this wasn't the best solution. Worked through a couple of other issues and now get:
Code: [Select]
# Fatal error in , line 0
# Version mismatch between V8 binary and snapshot.
#   V8 binary version: 10.8.168.25
#    Snapshot version: 10.2.154.17
# The snapshot consists of 288000 bytes and contains 1 context(s).
#
#
#
#FailureMessage Object: 0x12f104
Killed by SIGTRAP

350
Programming / Re: Qt6 Development
« on: April 09, 2023, 12:36:48 am »
OK I got a DLL :) and some TRPs to go with it :) (attached)

The maps.exe one seems to be OpenGL related (not surprisingly) the second looks more straightforward

351
Programming / Re: Compiling OpenJDK
« on: April 08, 2023, 10:20:06 pm »
Well if nothing else, there is a b49 at https://github.com/openjdk/jdk6 (vs our current b27)

Edit: https://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-windows-i586.exe might help for the j2sdk-image directory

I see Oracle wants a login to download that :( Anyone all ready have one?
It was free to create an account...

352
Programming / Re: Qt6 Development
« on: April 08, 2023, 04:28:01 am »
OK the chromium code is built (not withstanding the comments above) time to try and make a DLL...

Better than expected....
Code: [Select]
FAILED: lib/Qt6WebEe.dll lib/Qt6WebEngineCore_dll.a
: && echo LIBRARY \"Qt6WebEe\" INITINSTANCE TERMINSTANCE > lib/Qt6WebEe.dll.def && echo DESCRIPTION \"@#cmake build system:0.0#@##1## 05 Apr 2023 12:17:02\ \ \ \ \ ARCAOS-F0FD356::::0::@@WebEngineCore\" >> lib/Qt6WebEe.dll.def && echo DATA MULTIPLE NONSHARED >> lib/Qt6WebEe.dll.def && c:/usr/local1220/bin/c++.exe -DNDEBUG -O2    -Zomf -Zmap -Zdll -Zlinker DISABLE -Zlinker 1121 -lcx   @src/core/Release/i386/QtWebEngineCore_objects.rsp @src/core/Release/i386/QtWebEngineCore_archives.rsp @src/core/Release/i386/QtWebEngineCore_libs.rsp -shared -o lib/Qt6WebEe.dll  src/core/api/CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qtwebenginecoreglobal.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefindtextresult.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefullscreenrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehistory.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehttprequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineloadinginfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginemessagepumpscheduler.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenavigationrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenewwindowrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenotification.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginepage.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineprofile.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineregisterprotocolhandlerrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescript.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescriptcollection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginesettings.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestjob.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o  -lssp -lavcodec -lavdevice -lavfilter -lavformat -lavresample -lavutil c:/usr/local/lib/libvpx.lib  U:/qt6-6.5/lib/Qt6Quick_dll.a  U:/qt6-6.5/lib/Qt6Gui_dll.a  U:/qt6-6.5/lib/Qt6QmlModels_dll.a  U:/qt6-6.5/lib/Qt6WebChannel_dll.a  U:/qt6-6.5/lib/Qt6Qml_dll.a  U:/qt6-6.5/lib/Qt6Network_dll.a  U:/qt6-6.5/lib/Qt6Positioning_dll.a  U:/qt6-6.5/lib/Qt6Core_dll.a  -lpthread lib/Qt6WebEe.dll.def && emximp -o lib/Qt6WebEngineCore_dll.a lib/Qt6WebEe.dll && :
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl13GetDisplayEGLEy'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\ui\gl\init\libgl_init.a(init_jumbo_1.o)
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl4init41InitializeExtensionSettingsOneOffPlatformEPNS_9GLDisplayE'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\ui\gl\init\libgl_init.a(init_jumbo_1.o)
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\gpu\ipc\service\libgpu_ipc_service.a(service_jumbo_1.o)
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl4init34CreateOffscreenGLSurfaceWithFormatEPNS_9GLDisplayERKN3gfx4SizeENS_15GLSurfaceFormatE'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\ui\gl\init\libgl_init.a(init_jumbo_1.o)
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\gpu\ipc\service\libgpu_ipc_service.a(service_jumbo_1.o)
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\components\viz\service\libservice.a(service_jumbo_7.o)
weakld: error: Unresolved symbol (UNDEF) '__ZN2v88internal8Snapshot20ShouldVerifyChecksumEPKNS_11StartupDataE'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\v8\v8_base_without_compiler\v8_base_without_compiler_jumbo_52.o
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl4init18ShutdownGLPlatformEPNS_9GLDisplayE'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\ui\gl\init\libgl_init.a(init_jumbo_1.o)
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl4init19CreateViewGLSurfaceEPNS_9GLDisplayEm'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\gpu\ipc\service\libgpu_ipc_service.a(service_jumbo_2.o)
Ignoring unresolved externals reported from weak prelinker.
ninja: build stopped: subcommand failed.

As suspected, mostly related to opengl...

353
Programming / Re: Qt6 Development
« on: April 08, 2023, 03:02:53 am »
About 500 files to go and I get the following:
Code: [Select]
{1}[u:\dev\qt6-webengine-os2-6.5.x\build\src\core\release\i386] mksnapshot --tur
bo_instruction_scheduling --target_os=os2 --target_arch=x86 --embedded_src gen/v
8/embedded.S --embedded_variant Default --random-seed 314159265 --startup_src ge
n/v8/snapshot.cc --no-native-code-counters
Assertion failed: _UM_LUMP_STATUS (olump) == _UMS_FREE, file ./libc-0.1.10/src/emx/src/lib/malloc/ialloc.c, line 116

Killed by SIGABRT
pid=0x33b0 ppid=0x0041 tid=0x0001 slot=0x007d pri=0x0200 mc=0x0001 ps=0x0010
U:\DEV\QT6-WEBENGINE-OS2-6.5.X\BUILD\SRC\CORE\RELEASE\I386\MKSNAPSHOT.EXE
Creating 33B0_01.TRP
Moved 33b0_01.TRP to C:\var\log\app\64313478-33b0_01-MKSNAPSHOT-exceptq.txt

Edit: Cheated for now and replaced mksnapshot with the version from Qt 6.4.x

354
Programming / Re: Qt6 Development
« on: April 07, 2023, 10:54:49 pm »
Saturday morning status: [1/1817]

355
Programming / Re: Qt6 Development
« on: April 06, 2023, 11:34:02 pm »
[705/7826] - most significant hacks have been for missing EGL code - see https://github.com/psmedley/qt6-webengine-os2/issues/14

I'll expand on that ticket in due course. For now I'll just been wrapping the affected code if #ifdef USE_EGL - but I'm sure that's not the best path forward. The missing code seems to be in one of 4 or five egl.h headers, but I'm not sure which is appropriate for our software GL.

Will revisit this stuff once the rest of the code is built, and compare to the 6.3/6.4 code to better understand what's changed.


356
Programming / Re: Qt6 Development
« on: April 06, 2023, 11:58:23 am »
Fixed/hacked a few things today - now at [21/11254] so about 57% complete

357
Programming / Re: Qt6 Development
« on: April 06, 2023, 09:57:25 am »
  Testing the 6.5 build now... Scribus works, but Dooble doesn't, going thru the examples everything that used to work in previous versions still does (so far) and same with everything that didn't work before.

NO real surprise that some stuff built for 6.2 doesn't work with the 6.5 DLLs - when the time is right, I'll rebuild everything against 6.5

358
Programming / Re: Qt6 Development
« on: April 06, 2023, 02:53:12 am »
Out of surgery and in recovery now.

359
Programming / Re: Qt6 Development
« on: April 05, 2023, 10:12:15 pm »
Morning update, it broke not long after I stopped watching, but the fixes were pretty easy. Resumed now and at: [1351/15183]

Edit: it broke not long after I posted:
Code: [Select]
[1818/15183] ACTION //net/http:generate_transport_security_state(//build/toolchain/os2:x86)
FAILED: gen/net/http/transport_security_state_static.h
C:/USR/BIN/python3 ../../../../../src/3rdparty/chromium/build/gn_run_binary.py transport_security_state_generator.exe ../../../../../src/3rdparty/chromium/net/http/transport_security_state_static.json.gz ../../../../../src/3rdparty/chromium/net/http/transport_security_state_static.pins ../../../../../src/3rdparty/chromium/net/http/transport_security_state_static.template gen/net/http/transport_security_state_static.h
[0406/044316.939000:ERROR:transport_security_state_generator.cc(94)] Pinset swehackCom references pin Swehack which doesn't exist
[0406/044316.939000:ERROR:transport_security_state_generator.cc(296)] Checks failed. Aborting.
transport_security_state_generator.exe failed with exit code 1

360
Programming / Re: Qt6 Development
« on: April 05, 2023, 11:56:55 am »
Quick update.

Reasonable progress this evening, started with 26354 files to build - as of a few minutes ago, after several build breaks and restarts, it's at [504/16606] - so 16102 files to go, or roughly 40% complete.

Depending how I'm feeling, I'll resume work over the weekend. Github is up to date with source for all modules in the respective 6.5.x branches.

Pages: 1 ... 22 23 [24] 25 26 ... 140