GCC 4.3.2 news - Firefox builds!

classic Classic list List threaded Threaded
55 messages Options
123
Reply | Threaded
Open this post in threaded view
|

GCC 4.3.2 news - Firefox builds!

Paul Smedley-5
Hi All,

I managed to get some form of dllexport support working in GCC 4.3.2
today, and successfully built Firefox 3.0-cvs using it
(http://smedley.info/mozilla.jpg) It required just a couple of extras
changes above those required to build using 3.4.6

The most significant of which was the issue affecting building JS
support: (note being lazy I hacked around this)
in jsutil.h:
#if 0
#define JS_STATIC_ASSERT(condition)                                  
       \
    extern void js_static_assert(int arg[(condition) ? 1 : -1])
#else
#define JS_STATIC_ASSERT(condition)                                  
       \
    extern void js_static_assert(int arg[1])
#endif

In widget\src\os2\nsDragService.cpp I had to cut/paste
nsDragWindowProc towards the beginning of the sourcefile so that it
was declared before being used in nsDragService:nsDragService at line
112

There are still known issues with my current GCC 4.3.2 build, please
take note of these in \usr\local432\readme.os2 - the binary itself can
be downloaded from
http://download.smedley.info/gcc-4.3.2-os2-20081008.zip

Feedback appreciated :)

--
Cheers,

Paul.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Peter Weilbacher
On 08.10.08 10:38, Paul Smedley wrote:
> There are still known issues with my current GCC 4.3.2 build, please
> take note of these in \usr\local432\readme.os2 - the binary itself can
> be downloaded from
> http://download.smedley.info/gcc-4.3.2-os2-20081008.zip

Again, you are way too fast for me... I'm afraid this will have to wait
until next week, pretty stressed out at the moment.
--
Please     | Official Warpzilla Ports: http://www.mozilla.org/ports/os2/
reply in   |
newsgroup  |          Enhanced OS/2 builds: http://pmw-warpzilla.sf.net/
     Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Walter Meinl
In reply to this post by Paul Smedley-5
On Oct 8, 10:38 am, "Paul Smedley" <[hidden email]>
wrote:
> Hi All,
>
> I managed to get some form of dllexport support working in GCC 4.3.2
> today, and successfully built Firefox 3.0-cvs using it
> (http://smedley.info/mozilla.jpg) It required just a couple of extras
> changes above those required to build using 3.4.6
>

> Feedback appreciated :)
>
> --
> Cheers,
>
> Paul.
about:buildconfig

Source

Built from http://hg.mozilla.org/mozilla-central/rev/184ad4f909cd+
Build platform
target
i386-pc-os2-emx

Build tools
Compiler Version Compiler flags
gcc gcc version 4.3.2 (GCC) -Wall -W -Wno-unused -Wpointer-arith -
Wcast-align -W -Wno-long-long -pedantic -fno-strict-aliasing -Zomf -
pipe -DNDEBUG -DTRIMMED -O2
g++ gcc version 4.3.2 (GCC) -fno-rtti -fno-exceptions -Wall -
Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -
Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long
-pedantic -fno-strict-aliasing -Zomf -pipe -DNDEBUG -DTRIMMED -O2

Configure arguments
--enable-application=browser --enable-optimize --disable-debug --
disable-tests --disable-ogg

Congrats!
Firefox from hg 3.1pre compiles and runs with your extra tweaks
mentioned + the patch for gcc-346.
I first tried to build seamonkey from comm-central but got some
strange undefined symbols (from xpcom libs) when linking pref.dll. I'm
not yet sure, if these linking errors are related to my tree, of
course, since firefox built well, a bit slow probably due to the
missing threads in your gcc-build

Thank you very much for your efforts Walter
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Walter Meinl
On Oct 8, 9:50 pm, Walter Meinl <[hidden email]> wrote:
> On Oct 8, 10:38 am, "Paul Smedley" <[hidden email]>
> wrote:

> Built fromhttp://hg.mozilla.org/mozilla-central/rev/184ad4f909cd+
Well, java crashes the browser, when I go to http://javatester.org/enabled.html
It does not crash a firefox built from the same mercurial changeset
with gcc-3.4.6-20080930. Yet, nothing in popuplog.os2. Nevertheless,
thanks again
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Dave Yeo-3
On 10/08/08 01:01 pm, Walter Meinl wrote:
> Well, java crashes the browser, when I go tohttp://javatester.org/enabled.html
> It does not crash a firefox built from the same mercurial changeset
> with gcc-3.4.6-20080930. Yet, nothing in popuplog.os2. Nevertheless,
> thanks again

Does Java work for you with 3.4.6? My Seamonkey acts like the plugin
isn't there.
Dave
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Walter Meinl
On Oct 9, 5:17 am, Dave Yeo <[hidden email]> wrote:

> On 10/08/08 01:01 pm, Walter Meinl wrote:
>
> > Well, java crashes the browser, when I go tohttp://javatester.org/enabled.html
> > It does not crash a firefox built from the same mercurial changeset
> > with gcc-3.4.6-20080930. Yet, nothing in popuplog.os2. Nevertheless,
> > thanks again
>
> Does Java work for you with 3.4.6? My Seamonkey acts like the plugin
> isn't there.
> Dave
Java is perfectly initiated in Seamonkey and Firefox mercurial build
with gcc-3.4.6 and the changeset indicated in about:config (oops the
link leads to nowhere :-( ), checkout date 2008-10-02.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Peter Weilbacher
On 09.10.2008 16:00, Walter Meinl wrote:
> the changeset indicated in about:config (oops the
> link leads to nowhere :-( ), checkout date 2008-10-02.

Do you mean about:buildconfig? Yes, if one is using the Mq extension to
manage patches then the Hg ids are messed up (they are then just local
and cannot be found on the hg.mozilla.org server).
--
Please                      Enhanced OS/2 builds of Mozilla applications
reply in                                    http://pmw-warpzilla.sf.net/
newsgroup
    Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Walter Meinl
In reply to this post by Walter Meinl
On Oct 8, 9:50 pm, Walter Meinl <[hidden email]> wrote:

> On Oct 8, 10:38 am, "Paul Smedley" <[hidden email]>
> wrote:
>
> > Hi All,
>
> > I managed to get some form of dllexport support working in GCC 4.3.2
> > Feedback appreciated :)
>
> > --
> > Cheers,
>
> > Paul.
> I first tried to build seamonkey from comm-central but got some
> strange undefined symbols (from xpcom libs) when linking pref.dll. I'm
> not yet sure, if these linking errors are related to my tree, of
> course, since firefox built well, a bit slow probably due to the
> missing threads in your gcc-build
Checked again my build setup, and I'm pretty sure that its now
correct. Still I can build only firefox but fail in building
seamonkey:
rm -f pref.dll
g++  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-
virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-
align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-
aliasing -Zomf -pipe  -DNDEBUG -DTRIMMED -O2  -Zdll -Zhigh-mem -o
pref.dll  nsPref.o nsPrefBranch.o nsPrefService.o nsPrefsFactory.o
prefapi.o prefread.o     -Zmap -Zhigh-mem   -s -Zlinker /EXEPACK:2 -
Zlinker /PACKCODE -Zlinker /PACKDATA -Zhigh-mem -L../../../dist/bin -
L../../../dist/lib -LE:/mozbuild/mozilla/dist/lib E:/mozbuild/mozilla/
dist/lib/xpcom.lib E:/mozbuild/mozilla/dist/lib/xpcomcor.lib -LE:/
mozbuild/mozilla/dist/bin -LE:/mozbuild/mozilla/dist/lib -lplds4 -
lplc4 -lnspr4 -ldl -lsocket   -lsocket -ldl -lm   pref.def
emxomf warning: Undefined stabs type 173 referenced
emxomf info: parsing sym no.651 type=128 at char '
di:p173
emxomf warning: Cycle detected by make_type.
emxomf info: parsing sym no.650 type=160 at char '
di:p173
emxomf warning: Cycle detected by make_type.
emxomf info: parsing sym no.1040 type=160 at char '
di:p173
emxomf warning: Undefined stabs type 176 referenced
emxomf info: parsing sym no.1779 type=64 at char '
dpi:p176
emxomf warning: Cycle detected by make_type.
emxomf info: parsing sym no.1778 type=160 at char '
dpi:p176
emxomf warning: Undefined stabs type 180 referenced
emxomf info: parsing sym no.297 type=36 at char '
_ZL15get_ttype_entryP16lsda_header_infom:f180
emxomf warning: Undefined stabs type 182 referenced
emxomf info: parsing sym no.504 type=1 at char '
context:p182
emxomf warning: Cycle detected by make_type.
emxomf info: parsing sym no.503 type=160 at char '
context:p182
weakld: error: Unresolved symbol (UNDEF) '__ZN5nsCRT6strcmpEPKtS1_'.
weakld: info: The symbol is referenced by:
    E:\mozbuild\mozilla\modules\libpref\src\nsPrefService.o
weakld: error: Unresolved symbol (UNDEF)
'__ZTV23nsSupportsWeakReference'.
weakld: info: The symbol is referenced by:
    E:\mozbuild\mozilla\modules\libpref\src\nsPref.o
    E:\mozbuild\mozilla\modules\libpref\src\nsPrefBranch.o
    E:\mozbuild\mozilla\modules\libpref\src\nsPrefService.o
weakld: error: Unresolved symbol (UNDEF)
'__ZTV26nsDefaultCStringComparator'.
weakld: info: The symbol is referenced by:
    E:\mozbuild\mozilla\modules\libpref\src\nsPrefService.o
weakld: error: Unresolved symbol (UNDEF)
'__ZTV34nsCaseInsensitiveCStringComparator'.
weakld: info: The symbol is referenced by:
    E:\mozbuild\mozilla\modules\libpref\src\nsPrefService.o
weakld: error: Unresolved symbol (UNDEF)
'__ZTV28nsCreateInstanceByContractID'.
weakld: info: The symbol is referenced by:
    E:\mozbuild\mozilla\modules\libpref\src\nsPref.o
    E:\mozbuild\mozilla\modules\libpref\src\nsPrefBranch.o
    E:\mozbuild\mozilla\modules\libpref\src\nsPrefService.o
weakld: error: Unresolved symbol (UNDEF) '__ZTV15nsQueryReferent'.
weakld: info: The symbol is referenced by:
    E:\mozbuild\mozilla\modules\libpref\src\nsPrefBranch.o
Ignoring unresolved externals reported from weak prelinker.

E:\mozbuild\mozilla\modules\libpref\src
\nsPrefBranch.o(nsPrefBranch.o) : error LNK2029: "vtable for
nsQueryReferent" : unresolved external
E:\mozbuild\mozilla\modules\libpref\src
\nsPrefService.o(nsPrefService.o) : error LNK2029: "vtable for
nsDefaultCStringComparator" : unresolved external
E:\mozbuild\mozilla\modules\libpref\src
\nsPrefService.o(nsPrefService.o) : error LNK2029:
"nsCRT::strcmp(unsigned short const*, unsigned short const*)" :
unresolved external
E:\mozbuild\mozilla\modules\libpref\src
\nsPrefService.o(nsPrefService.o) : error LNK2029: "vtable for
nsCreateInstanceByContractID" : unresolved external
E:\mozbuild\mozilla\modules\libpref\src
\nsPrefBranch.o(nsPrefBranch.o) : error LNK2029: "vtable for
nsCreateInstanceByContractID" : unresolved external
E:\mozbuild\mozilla\modules\libpref\src\nsPref.o(nsPref.o) : error
LNK2029: "vtable for nsCreateInstanceByContractID" : unresolved
external
E:\mozbuild\mozilla\modules\libpref\src
\nsPrefService.o(nsPrefService.o) : error LNK2029: "vtable for
nsSupportsWeakReference" : unresolved external
E:\mozbuild\mozilla\modules\libpref\src
\nsPrefBranch.o(nsPrefBranch.o) : error LNK2029: "vtable for
nsSupportsWeakReference" : unresolved external
E:\mozbuild\mozilla\modules\libpref\src\nsPref.o(nsPref.o) : error
LNK2029: "vtable for nsSupportsWeakReference" : unresolved external
E:\mozbuild\mozilla\modules\libpref\src
\nsPrefService.o(nsPrefService.o) : error LNK2029: "vtable for
nsCaseInsensitiveCStringComparator" : unresolved external


There were 10 errors detected
make.exe[6]: *** [pref.dll] Error 1
make.exe[6]: Leaving directory `E:/mozbuild/mozilla/modules/libpref/
src'

The link line is exactly the same as for gcc-3.4.6 and the missing
symbols are found in xpcomcor.map. I'd guess it could be a declspec
problem (disabling os2-high-mem did not help)
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Paul Smedley-5
Hi Walter,

On Fri, 10 Oct 2008 19:35:48 UTC, Walter Meinl <[hidden email]> wrote:

> On Oct 8, 9:50ÿpm, Walter Meinl <[hidden email]> wrote:
> > On Oct 8, 10:38ÿam, "Paul Smedley" <[hidden email]>
> > wrote:
> >
> > > Hi All,
> >
> > > I managed to get some form of dllexport support working in GCC 4.3.2
> > > Feedback appreciated :)
> >
> > > --
> > > Cheers,
> >
> > > Paul.
> > I first tried to build seamonkey from comm-central but got some
> > strange undefined symbols (from xpcom libs) when linking pref.dll. I'm
> > not yet sure, if these linking errors are related to my tree, of
> > course, since firefox built well, a bit slow probably due to the
> > missing threads in your gcc-build
> Checked again my build setup, and I'm pretty sure that its now
> correct. Still I can build only firefox but fail in building
> seamonkey:
I'll try take a look at building seamonkey over the weekend.

Thanks for the feedback

--
Cheers,

Paul.

_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Paul Smedley-5
In reply to this post by Paul Smedley-5
Hi Guys,

On Wed, 8 Oct 2008 08:38:53 UTC, "Paul Smedley"
<[hidden email]> wrote:

> The most significant of which was the issue affecting building JS
> support: (note being lazy I hacked around this)
> in jsutil.h:
> #if 0
> #define JS_STATIC_ASSERT(condition)                                  
>        \
>     extern void js_static_assert(int arg[(condition) ? 1 : -1])
> #else
> #define JS_STATIC_ASSERT(condition)                                  
>        \
>     extern void js_static_assert(int arg[1])
> #endif

FWIW the above hack was only required due to an OS/2-specific bug in
GCC 4.3.2 which will be corrected in the next drop.

I'm currently doing some testing to try to ensure there are no
regressions before I upload it.

--
Cheers,

Paul.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Peter Weilbacher
On Tue, 14 Oct 2008 08:57:25 UTC, "Paul Smedley" wrote:

> Hi Guys,
>
> On Wed, 8 Oct 2008 08:38:53 UTC, "Paul Smedley"
> <[hidden email]> wrote:
>
> > The most significant of which was the issue affecting building JS
> > support: (note being lazy I hacked around this)
> > in jsutil.h:
> > #if 0
> > #define JS_STATIC_ASSERT(condition)                                  
> >        \
> >     extern void js_static_assert(int arg[(condition) ? 1 : -1])
> > #else
> > #define JS_STATIC_ASSERT(condition)                                  
> >        \
> >     extern void js_static_assert(int arg[1])
> > #endif
>
> FWIW the above hack was only required due to an OS/2-specific bug in
> GCC 4.3.2 which will be corrected in the next drop.

I was relieved to hear that, but is it supposed to be fixed in the 1015
drop? Because I still see the same problem with it, like

   In file included from X:/central/comm/mozilla/js/src/jsapi.cpp:57:
   X:/central/comm/mozilla/js/src/jsatom.h:267: error: array bound is
not an integer constant
   X:/central/comm/mozilla/js/src/jsatom.h:267: error: declaration of C
function 'void js_static_assert()' conflicts with
   X:/central/comm/mozilla/js/src/jsatom.h:69: error: previous
declaration 'void js_static_assert(int*)' here

Hmm, I again made sure that I unpacked the newest drop, but gcc -v only
says
   gcc version 4.3.2 (GCC)
so that can't be used to verify this. I can look at the file date, but
could you add a build date in there as we had with Knut's GCC 3.3.5?
There it said
   gcc version 3.3.5 (Bird Build 2007-06-10 14:30)
and that then also gets included for about:buildconfig in a Mozilla app.
--
Please     | Official Warpzilla Ports: http://www.mozilla.org/ports/os2/
reply in   |
newsgroup  |          Enhanced OS/2 builds: http://pmw-warpzilla.sf.net/
    Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Peter Weilbacher
And I still get

   nsTraceRefcntImpl.cpp
   {standard input}: Assembler messages:
   {standard input}:47: Error: invalid character '_' in mnemonic
   make.exe[7]: *** [nsTraceRefcntImpl.o] Error 1
   make.exe[7]: Leaving directory `<OBJDIR>/suite/mozilla/xpcom/base'

This is with gcc 1014 and as 1015 (but the same happens with the old as
from GCC 3.3.5), trying to build from current Mercurial (2008-10-15
12:22 PDT, but I doubt a few days matter).
--
Please     | Official Warpzilla Ports: http://www.mozilla.org/ports/os2/
reply in   |
newsgroup  |          Enhanced OS/2 builds: http://pmw-warpzilla.sf.net/
    Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Peter Weilbacher
On Wed, 15 Oct 2008 20:04:20 UTC, "Peter Weilbacher" wrote:

> And I still get
>
>    nsTraceRefcntImpl.cpp
>    {standard input}: Assembler messages:
>    {standard input}:47: Error: invalid character '_' in mnemonic
>    make.exe[7]: *** [nsTraceRefcntImpl.o] Error 1
>    make.exe[7]: Leaving directory `<OBJDIR>/suite/mozilla/xpcom/base'
>
> This is with gcc 1014 and as 1015 (but the same happens with the old as
> from GCC 3.3.5), trying to build from current Mercurial (2008-10-15
> 12:22 PDT, but I doubt a few days matter).

Building Firefox from current CVS trunk indeed runs past that file
without problems...
--
Please     | Official Warpzilla Ports: http://www.mozilla.org/ports/os2/
reply in   |
newsgroup  |          Enhanced OS/2 builds: http://pmw-warpzilla.sf.net/
    Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Paul Smedley-5
Hi Peter!

On Wed, 15 Oct 2008 22:57:23 UTC, "Peter Weilbacher"
<[hidden email]> wrote:

> On Wed, 15 Oct 2008 20:04:20 UTC, "Peter Weilbacher" wrote:
>
> > And I still get
> >
> >    nsTraceRefcntImpl.cpp
> >    {standard input}: Assembler messages:
> >    {standard input}:47: Error: invalid character '_' in mnemonic
> >    make.exe[7]: *** [nsTraceRefcntImpl.o] Error 1
> >    make.exe[7]: Leaving directory `<OBJDIR>/suite/mozilla/xpcom/base'
> >
> > This is with gcc 1014 and as 1015 (but the same happens with the old as
> > from GCC 3.3.5), trying to build from current Mercurial (2008-10-15
> > 12:22 PDT, but I doubt a few days matter).
>
> Building Firefox from current CVS trunk indeed runs past that file
> without problems...

OK I updated Mercurial last night and I do see the problems with
jsutil.h again - even thought the code in cvs seemed to build OK.  
Still need to investigate that some more.

I'll hack past that and see if I get the mnemonic error again - that
one may be an as.exe problem....

--
Cheers,

Paul.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Paul Smedley-5
Hi Peter,

On Thu, 16 Oct 2008 08:07:07 UTC, "Paul Smedley"
<[hidden email]> wrote:

> Hi Peter!
>
> On Wed, 15 Oct 2008 22:57:23 UTC, "Peter Weilbacher"
> <[hidden email]> wrote:
>
> > On Wed, 15 Oct 2008 20:04:20 UTC, "Peter Weilbacher" wrote:
> >
> > > And I still get
> > >
> > >    nsTraceRefcntImpl.cpp
> > >    {standard input}: Assembler messages:
> > >    {standard input}:47: Error: invalid character '_' in mnemonic
> > >    make.exe[7]: *** [nsTraceRefcntImpl.o] Error 1
> > >    make.exe[7]: Leaving directory `<OBJDIR>/suite/mozilla/xpcom/base'
> > >
> > > This is with gcc 1014 and as 1015 (but the same happens with the old as
> > > from GCC 3.3.5), trying to build from current Mercurial (2008-10-15
> > > 12:22 PDT, but I doubt a few days matter).
> >
> > Building Firefox from current CVS trunk indeed runs past that file
> > without problems...
>
> OK I updated Mercurial last night and I do see the problems with
> jsutil.h again - even thought the code in cvs seemed to build OK.  
> Still need to investigate that some more.
>
> I'll hack past that and see if I get the mnemonic error again - that
> one may be an as.exe problem....

FWIW - the only issues I had with a Firefox Hg build were the ones
I've already mentioned in my first post - in particulat the jsutil.h
one which is a PITA.....

I didn't see any issues with nsTraceRefcntImpl at all - was that with
Firefox or Seamonkey?

--
Cheers,

Paul.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Dave Yeo-3
On 10/17/08 01:12 am, Paul Smedley wrote:

> Hi Peter,
>
> On Thu, 16 Oct 2008 08:07:07 UTC, "Paul Smedley"
> <[hidden email]>  wrote:
>
>> Hi Peter!
>>
>> On Wed, 15 Oct 2008 22:57:23 UTC, "Peter Weilbacher"
>> <[hidden email]>  wrote:
>>
>>> On Wed, 15 Oct 2008 20:04:20 UTC, "Peter Weilbacher" wrote:
>>>
>>>> And I still get
>>>>
>>>>     nsTraceRefcntImpl.cpp
>>>>     {standard input}: Assembler messages:
>>>>     {standard input}:47: Error: invalid character '_' in mnemonic
>>>>     make.exe[7]: *** [nsTraceRefcntImpl.o] Error 1
>>>>     make.exe[7]: Leaving directory `<OBJDIR>/suite/mozilla/xpcom/base'
>>>>
>>>> This is with gcc 1014 and as 1015 (but the same happens with the old as
>>>> from GCC 3.3.5), trying to build from current Mercurial (2008-10-15
>>>> 12:22 PDT, but I doubt a few days matter).
>>> Building Firefox from current CVS trunk indeed runs past that file
>>> without problems...
>> OK I updated Mercurial last night and I do see the problems with
>> jsutil.h again - even thought the code in cvs seemed to build OK.
>> Still need to investigate that some more.
>>
>> I'll hack past that and see if I get the mnemonic error again - that
>> one may be an as.exe problem....
>
> FWIW - the only issues I had with a Firefox Hg build were the ones
> I've already mentioned in my first post - in particulat the jsutil.h
> one which is a PITA.....
>
> I didn't see any issues with nsTraceRefcntImpl at all - was that with
> Firefox or Seamonkey?
>

I see the error with Seamonkey, trunk hg
Dave
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Paul Smedley-5
Hi Dave,

On Fri, 17 Oct 2008 14:47:19 UTC, Dave Yeo <[hidden email]>
wrote:

> On 10/17/08 01:12 am, Paul Smedley wrote:
> > Hi Peter,
> >
> > On Thu, 16 Oct 2008 08:07:07 UTC, "Paul Smedley"
> > <[hidden email]>  wrote:
> >
> >> Hi Peter!
> >>
> >> On Wed, 15 Oct 2008 22:57:23 UTC, "Peter Weilbacher"
> >> <[hidden email]>  wrote:
> >>
> >>> On Wed, 15 Oct 2008 20:04:20 UTC, "Peter Weilbacher" wrote:
> >>>
> >>>> And I still get
> >>>>
> >>>>     nsTraceRefcntImpl.cpp
> >>>>     {standard input}: Assembler messages:
> >>>>     {standard input}:47: Error: invalid character '_' in mnemonic
> >>>>     make.exe[7]: *** [nsTraceRefcntImpl.o] Error 1
> >>>>     make.exe[7]: Leaving directory `<OBJDIR>/suite/mozilla/xpcom/base'
> >>>>
> >>>> This is with gcc 1014 and as 1015 (but the same happens with the old as
> >>>> from GCC 3.3.5), trying to build from current Mercurial (2008-10-15
> >>>> 12:22 PDT, but I doubt a few days matter).
> >>> Building Firefox from current CVS trunk indeed runs past that file
> >>> without problems...
> >> OK I updated Mercurial last night and I do see the problems with
> >> jsutil.h again - even thought the code in cvs seemed to build OK.
> >> Still need to investigate that some more.
> >>
> >> I'll hack past that and see if I get the mnemonic error again - that
> >> one may be an as.exe problem....
> >
> > FWIW - the only issues I had with a Firefox Hg build were the ones
> > I've already mentioned in my first post - in particulat the jsutil.h
> > one which is a PITA.....
> >
> > I didn't see any issues with nsTraceRefcntImpl at all - was that with
> > Firefox or Seamonkey?
> >
>
> I see the error with Seamonkey, trunk hg

Thanks - I'll try look into it over the weekend

--
Cheers,

Paul.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Walter Meinl
On Oct 18, 3:32 am, "Paul Smedley" <[hidden email]>
wrote:

> Hi Dave,
>
> On Fri, 17 Oct 2008 14:47:19 UTC, Dave Yeo <[hidden email]>
> wrote:
>
>
>
> > On 10/17/08 01:12 am, Paul Smedley wrote:
> > > Hi Peter,
>
> > > On Thu, 16 Oct 2008 08:07:07 UTC, "Paul Smedley"
> > > <[hidden email]>  wrote:
>
> > >> Hi Peter!
>
> > >> On Wed, 15 Oct 2008 22:57:23 UTC, "Peter Weilbacher"
> > >> <[hidden email]>  wrote:
>
> > >>> On Wed, 15 Oct 2008 20:04:20 UTC, "Peter Weilbacher" wrote:
>
> > >>>> And I still get
>
> > >>>>     nsTraceRefcntImpl.cpp
> > >>>>     {standard input}: Assembler messages:
> > >>>>     {standard input}:47: Error: invalid character '_' in mnemonic
> > >>>>     make.exe[7]: *** [nsTraceRefcntImpl.o] Error 1
> > >>>>     make.exe[7]: Leaving directory `<OBJDIR>/suite/mozilla/xpcom/base'
>
> > >>>> This is with gcc 1014 and as 1015 (but the same happens with the old as
> > >>>> from GCC 3.3.5), trying to build from current Mercurial (2008-10-15
> > >>>> 12:22 PDT, but I doubt a few days matter).
> > >>> Building Firefox from current CVS trunk indeed runs past that file
> > >>> without problems...
> > >> OK I updated Mercurial last night and I do see the problems with
> > >> jsutil.h again - even thought the code in cvs seemed to build OK.
> > >> Still need to investigate that some more.
>
> > >> I'll hack past that and see if I get the mnemonic error again - that
> > >> one may be an as.exe problem....
>
> > > FWIW - the only issues I had with a Firefox Hg build were the ones
> > > I've already mentioned in my first post - in particulat the jsutil.h
> > > one which is a PITA.....
>
> > > I didn't see any issues with nsTraceRefcntImpl at all - was that with
> > > Firefox or Seamonkey?
>
> > I see the error with Seamonkey, trunk hg
>
> Thanks - I'll try look into it over the weekend
>
> --
> Cheers,
>
> Paul.

Hi Paul,
strange that this happens only with Seamonkey and not with Firefox, I
don't see in the logs that there are differences in the compile line
(in the link line later they differ of course).
But with the 1012b (old as.exe) and 1014 (together with as from 1015)
compiler drops I can build Firefox from mercurial w/o problems,
however the executable won't run, here is the output when I start
firefox.exe /console:

terminate called after throwing an instance of
'__gnu_cxx::__concurrence_lock_error'
terminate called recursively

Killed by SIGABRT
pid=0x0047 ppid=0x0022 tid=0x0001slot=0x007d pri=0x0200 mc=0x0001
E:\mozbuild\dist\firefox\firefox.exe
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

Rich Walsh
On Sat, 18 Oct 2008 07:41:02 UTC, Walter Meinl <[hidden email]> wrote:

> But with the 1012b (old as.exe) and 1014 (together with as from 1015)
> compiler drops I can build Firefox from mercurial w/o problems,
> however the executable won't run, here is the output when I start
> firefox.exe /console:
>
> terminate called after throwing an instance of
> '__gnu_cxx::__concurrence_lock_error'
> terminate called recursively
>
> Killed by SIGABRT
> pid=0x0047 ppid=0x0022 tid=0x0001slot=0x007d pri=0x0200 mc=0x0001
> E:\mozbuild\dist\firefox\firefox.exe

I just built Firefox for the first time in several years using
gcc 4.3.2 (2008-10-14) & as (2008-10-15).  Like Walter, I also
get this error when I try to run it.  With %MOZILLA_HOME% set
to null, it gets no further than creating a Mozilla directory,
so it seems to be dying in its startup code.

My first two attempts produced this error which no one has mentioned:
> In file included from M:/moz191/mozilla/security/nss/cmd/lib/secutil.c:52:
> M:/moz191/mozilla/security/nss/cmd/lib/secutil.h:454: error: conflicting types for 'ffs'

Since I couldn't figure out what "conflicting types" meant, I
commented-out the offending line with no apparent ill-effect:
> extern int ffs(unsigned int i);

Also... In the setmozenv_gcc432.cmd included with 4.3.2, I noticed
what seems to be an error:

> SET C_INCLUDE_PATH=%GCCDIR2%/lib/gcc/i386-pc-os2-emx/4.3.2/include;

I think it should be:

SET C_INCLUDE_PATH=%GCCDIR2%/local432/lib/gcc/i386-pc-os2-emx/4.3.2/include;

Whether this actually makes a difference is another story...



--
== == almost usable email address:  Rich AT E-vertise.Com == ==
___________________________________________________________________
                |
                |         DragText v3.9 with NLS support
Rich Walsh      |   A Distinctly Different Desktop Enhancement
Ft Myers, FL    |         http://e-vertise.com/dragtext/
___________________________________________________________________

_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: GCC 4.3.2 news - Firefox builds!

William L. Hartzell-2
Rich Walsh wrote:

> On Sat, 18 Oct 2008 07:41:02 UTC, Walter Meinl<[hidden email]>  wrote:
>
>> But with the 1012b (old as.exe) and 1014 (together with as from 1015)
>> compiler drops I can build Firefox from mercurial w/o problems,
>> however the executable won't run, here is the output when I start
>> firefox.exe /console:
>>
>> terminate called after throwing an instance of
>> '__gnu_cxx::__concurrence_lock_error'
>> terminate called recursively
>>
>> Killed by SIGABRT
>> pid=0x0047 ppid=0x0022 tid=0x0001slot=0x007d pri=0x0200 mc=0x0001
>> E:\mozbuild\dist\firefox\firefox.exe
>
> I just built Firefox for the first time in several years using
> gcc 4.3.2 (2008-10-14)&  as (2008-10-15).  Like Walter, I also
> get this error when I try to run it.  With %MOZILLA_HOME% set
> to null, it gets no further than creating a Mozilla directory,
> so it seems to be dying in its startup code.
>
> My first two attempts produced this error which no one has mentioned:
>> In file included from M:/moz191/mozilla/security/nss/cmd/lib/secutil.c:52:
>> M:/moz191/mozilla/security/nss/cmd/lib/secutil.h:454: error: conflicting types for 'ffs'
>
> Since I couldn't figure out what "conflicting types" meant, I
> commented-out the offending line with no apparent ill-effect:
>> extern int ffs(unsigned int i);
>
> Also... In the setmozenv_gcc432.cmd included with 4.3.2, I noticed
> what seems to be an error:
>
>> SET C_INCLUDE_PATH=%GCCDIR2%/lib/gcc/i386-pc-os2-emx/4.3.2/include;
>
> I think it should be:
>
> SET C_INCLUDE_PATH=%GCCDIR2%/local432/lib/gcc/i386-pc-os2-emx/4.3.2/include;
>
> Whether this actually makes a difference is another story...
>
>
>
In this last error, does he not use %ROOT%/usr/local432 as GCCDIR2?
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
123