Author Topic: New builds of Thunderbird and SeaMonkey  (Read 26335 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #15 on: June 10, 2022, 05:28:25 pm »
For completeness, here's the response file for linking Firefox's xul.dll. I wonder if there is simply a missing obj or library file with SM? I get the same error trying to link its xul with GCC 9.2.0

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #16 on: June 10, 2022, 11:50:40 pm »
Here's the tail of the build.log, the failing command line is over 59,000 characters so won't paste it.
[Errno 22] Invalid argument

That's not what I was expecting!!

Just so I'm clear, 9.4.0 works, 10.3.0 doesn't?

Cheers,

Paul
« Last Edit: June 10, 2022, 11:53:53 pm by Paul Smedley »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #17 on: June 11, 2022, 02:18:28 am »
Here's the tail of the build.log, the failing command line is over 59,000 characters so won't paste it.
[Errno 22] Invalid argument

That's not what I was expecting!!

Just so I'm clear, 9.4.0 works, 10.3.0 doesn't?

Cheers,

Paul

Haven't tried 10.3.0. RPM GCC 9.2.0 works to compile all the Moz apps, 9.4.0 works to compile Firefox but not SeaMonkey. Never tried TB. Guess I should.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #18 on: June 11, 2022, 03:29:05 am »
Here's the tail of the build.log, the failing command line is over 59,000 characters so won't paste it.
[Errno 22] Invalid argument

That's not what I was expecting!!

Just so I'm clear, 9.4.0 works, 10.3.0 doesn't?

Cheers,

Paul

Haven't tried 10.3.0. RPM GCC 9.2.0 works to compile all the Moz apps, 9.4.0 works to compile Firefox but not SeaMonkey. Never tried TB. Guess I should.

OK cool - I don't remember if I tried to modify 9.4.0 to include the bww fixes for response file handling or not. I'll try investigate that this afternoon.

Edit: I attemped to, but there are still some differences between bww 9.2.0 and my 9.4.0 gcc.c

Rebuild 9.4.0 now with gcc.c from bww

Cheers,

Paul
« Last Edit: June 11, 2022, 03:45:37 am by Paul Smedley »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #19 on: June 11, 2022, 05:15:05 am »
You did try to add the bww fixes and likely succeeded judging that Firefox built.
The problem is this Python based build system does not give good errors. Had a hell of a time with 52ESR just getting configure.py along with old.configure to complete.
Anyways, the good news is that Thunderbird's xul.dll linked, at the 144 minute mark :)
Guess going to have to compare the SM builds, wish it was easier to catch the response file when linking fails.
What is the URL for 10.3.0?

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #20 on: June 11, 2022, 06:13:33 am »
Hey Dave,

You did try to add the bww fixes and likely succeeded judging that Firefox built.
The problem is this Python based build system does not give good errors. Had a hell of a time with 52ESR just getting configure.py along with old.configure to complete.
Anyways, the good news is that Thunderbird's xul.dll linked, at the 144 minute mark :)
Guess going to have to compare the SM builds, wish it was easier to catch the response file when linking fails.
What is the URL for 10.3.0?
10.3.0 is at https://smedley.id.aui/tmp/gcc-10.3.0-os2-20220314.zip

Updated 9.4.0 with bww gcc.c is at https://smedley.id.aui/tmp/gcc-9.4.0-os2-20220610.zip

Cheers,

Paul

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #21 on: June 11, 2022, 06:40:54 am »
Ok, I'll first try building SM with the updated 9.4.0. Then maybe 10.3.0. it takes about 2 hours to do a build with make -j5 (4 core I5)
I did just compare the cmd lines between 9.2.0 and 9.4.0, they're identical, as they should be, which leads me to believe there is a missing obj file or library.
Edit: getting "The connection was refused when attempting to contact smedley.id.aui."
Edit again: smedley.id.au works
Edit again: gcc-9.4.0-os2-20220610.zip dies at the 31MB mark with a source file can't be read error
« Last Edit: June 11, 2022, 07:27:22 am by Dave Yeo »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #22 on: June 11, 2022, 07:21:36 am »
Sorry, I was updating the router firmware :)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #23 on: June 11, 2022, 08:49:26 am »
They're downloaded now and SeaMonkey building. It's bedtime here so we'll see if it succeeded in the morning.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #24 on: June 11, 2022, 06:04:53 pm »
Well the build died pretty quick, redoing so configures aren't run, doesn't even go 4 minutes.
Code: [Select]
3:34.32 In file included from W:/USR/local940/include/c++/9.4.0/system_error:39,
 3:34.32                  from W:/USR/local940/include/c++/9.4.0/bits/ios_base.h:46,
 3:34.32                  from W:/USR/local940/include/c++/9.4.0/iomanip:40,
 3:34.32                  from Y:/work/cc45-git/mozilla/mfbt/decimal/moz-decimal-utils.h:20,
 3:34.32                  from Y:/work/cc45-git/mozilla/mfbt/decimal/Decimal.cpp:32:
 3:34.32 W:/usr/local940/include/c++/9.4.0/i686-pc-os2-emx/bits/error_constants.h:151:34: error: 'ENOTRECOVERABLE' was not declared in this scope
 3:34.33   151 |       state_not_recoverable =    ENOTRECOVERABLE,
 3:34.33       |                                  ^~~~~~~~~~~~~~~
 3:34.91
 3:34.94 In the directory  Y:/work/cc45-git/obj-sm/mfbt
 3:34.94 The following command failed to execute properly:
 3:34.98 c++ -o Decimal.obj -c -DIMPL_MFBT -IY:/work/cc45-git/mozilla/mfbt -I. -I../dist/include -IY:/work/cc45-git/obj-sm/dist/include/nspr -IY:/work/cc45-git/obj-sm/dist/include/nss -I/@unixroot/usr/include/pixman-1 -DMOZILLA_CLIENT -include ../mozilla-config.h -Uunix -U__unix -U__unix__ -MD -MP -MF .deps/Decimal.obj.pp -idirafter K:/usr/include/os2tk45 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -Zomf -fno-exceptions -fno-strict-aliasing -Zomf -flifetime-dse=1 -fno-delete-null-pointer-checks -Wclass-memaccess -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNDEBUG -DTRIMMED -g -march=pentium4 -mtune=generic -O2 -flifetime-dse=1 -fno-delete-null-pointer-checks -Wclass-memaccess -msse2 -fomit-frame-pointer Y:/work/cc45-git/mozilla/mfbt/decimal/Decimal.cpp
 3:34.98 make.EXE[4]: *** [Decimal.obj] Error 1
 3:34.98 make.EXE[3]: *** [mfbt/target] Error 2
 3:34.98 make.EXE[3]: *** Waiting for unfinished jobs....
Earlier build of GCC 9.4.0 in include/c++/9.4.0/i686-pc-os2-emx/bits/c++config.h,
Code: [Select]
/* Define if ENOTRECOVERABLE exists. */
/* #undef _GLIBCXX_HAVE_ENOTRECOVERABLE */

Whereas this has it defined. I'll try undefining it.
Ok, that seems to have got by that build break. Another hour and a half till it gets to linking xul.dll.
Now I have to do other stuff, truck stopped starting  yesterday when I turned the key, have to trouble shoot, is it the wiring, the starter, a relay or what. At least it's a manual so I got home by push starting it :)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #25 on: June 11, 2022, 09:53:44 pm »
OK, with the change above, the SeaMonkey build succeeded and the test run also brought up the browser. Have to package it later and test better but I don't see why it shouldn't be fine.
I'll also test 10.3.0 later, unless you want to update it.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #26 on: June 11, 2022, 11:17:13 pm »
OK, with the change above, the SeaMonkey build succeeded and the test run also brought up the browser. Have to package it later and test better but I don't see why it shouldn't be fine.
I'll also test 10.3.0 later, unless you want to update it.

Woohoo! Let me apply the same changes to GCC 10+

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #28 on: June 12, 2022, 05:48:14 am »
Seems KOMH's script broke with the 4 digit GCC local1030 name, so trying to make a simple setenv.cmd.
Paul, can you post the output of "cpp -xc++ -W -v" (need to exit with ctrl-c), namely the include paths when in your 10.3.0 environment? I worry that I'm missing stuff like include-fixed
Thanks

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: New builds of Thunderbird and SeaMonkey
« Reply #29 on: June 12, 2022, 06:28:00 am »
Code: [Select]
Using built-in specs.
COLLECT_GCC=cpp
Target: i686-pc-os2-emx
Configured with: ./configure --prefix=/usr/local1030 --enable-shared --enable-languages=c,c++,fortran --with-gnu-as --enable-frame-pointer --disable-bootstrap --disable-libstdcxx-pch --enable-threads --enable-decimal-float=yes --build=i686-pc-os2-emx --target=i686-pc-os2-emx
Thread model: os2
Supported LTO compression algorithms: zlib
gcc version 10.3.0 (GCC)
COLLECT_GCC_OPTIONS='-E' '-pipe' '-Wextra' '-v' '-mtune=generic' '-march=pentiumpro'
 U:/usr/local1030/bin/../libexec/gcc/i686-pc-os2-emx/10.3.0/cc1plus.exe -E -quiet -v -iprefix U:/usr/local1030/bin/../lib/gcc/i686-pc-os2-emx/10.3.0/ - -mtune=generic -march=pentiumpro -Wextra
ignoring nonexistent directory "u:/cups/include"
ignoring nonexistent directory "U:/usr/local1030/bin/../lib/gcc/i686-pc-os2-emx/10.3.0/../../../../i686-pc-os2-emx/include"
ignoring nonexistent directory "U:/usr/local1030/bin/../lib/gcc/../../lib/gcc/i686-pc-os2-emx/10.3.0/../../../../i686-pc-os2-emx/include"
#include "..." search starts here:
#include <...> search starts here:
 u:/extras/include
 u:/openldap/include
 u:/usr/include
 U:/USR/local1030/include/c++/10.3.0/backward
 U:/USR/include
 U:/OS2TK45/H
 .
 U:/usr/local1030/bin/../lib/gcc/i686-pc-os2-emx/10.3.0/../../../../include/c++/10.3.0
 U:/usr/local1030/bin/../lib/gcc/i686-pc-os2-emx/10.3.0/../../../../include/c++/10.3.0/i686-pc-os2-emx
 U:/usr/local1030/bin/../lib/gcc/i686-pc-os2-emx/10.3.0/../../../../include/c++/10.3.0/backward
 U:/usr/local1030/bin/../lib/gcc/i686-pc-os2-emx/10.3.0/include
 U:/usr/local1030/bin/../lib/gcc/i686-pc-os2-emx/10.3.0/include-fixed
 U:/usr/local1030/bin/../lib/gcc/../../lib/gcc/i686-pc-os2-emx/10.3.0/../../../../include/c++/10.3.0
 U:/usr/local1030/bin/../lib/gcc/../../lib/gcc/i686-pc-os2-emx/10.3.0/../../../../include/c++/10.3.0/i686-pc-os2-emx
 U:/usr/local1030/bin/../lib/gcc/../../lib/gcc/i686-pc-os2-emx/10.3.0/../../../../include/c++/10.3.0/backward
 U:/usr/local1030/bin/../lib/gcc/../../lib/gcc/i686-pc-os2-emx/10.3.0/include
 /usr/local/include
 U:/usr/local1030/bin/../lib/gcc/../../include
 U:/usr/local1030/bin/../lib/gcc/../../lib/gcc/i686-pc-os2-emx/10.3.0/include-fixed
 u:/usr/include
End of search list.