Discussion:
Where's xulrunner?
marguerite
2014-08-11 15:41:35 UTC
Permalink
Hi, listmates,

I found that there's no more xulrunner-devel package inside openSUSE:Factory.

but it's still releasing:

http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest/source/

So what happened to it? (I need it to build gpac package in Packman, which is a dependency for x264)

Greetings

Margueirte��{.n�+�������������$j��맲��r��z�^�ˬz��
Wolfgang Rosenauer
2014-08-11 17:23:13 UTC
Permalink
Post by marguerite
Hi, listmates,
I found that there's no more xulrunner-devel package inside openSUSE:Factory.
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest/source/
So what happened to it? (I need it to build gpac package in Packman, which is a dependency for x264)
Recent versions of xulrunner stopped building for i586 and I have had
- not the knowledge to fix it
- not the time to get the knowledge to fix it.

The error is/was a segmentation fault in the JS engine only affecting
i586 and not x86-64.

I would be happy if anyone out there could help to fix it since I'm lost.

Just find the xulrunner package in project mozilla to see the error and
branch it.


Wolfgang
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
Daniel Rahn
2014-08-12 10:05:35 UTC
Permalink
Post by Wolfgang Rosenauer
Recent versions of xulrunner stopped building for i586 and I have had
- not the knowledge to fix it
- not the time to get the knowledge to fix it.
The error is/was a segmentation fault in the JS engine only affecting
i586 and not x86-64.
Likewise I have no time to look into this more deeply right now, just an idea:
Have you checked building with "-mno-avx"?

-Daniel
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
Wolfgang Rosenauer
2014-08-12 12:10:12 UTC
Permalink
Post by Daniel Rahn
Post by Wolfgang Rosenauer
Recent versions of xulrunner stopped building for i586 and I have had
- not the knowledge to fix it
- not the time to get the knowledge to fix it.
The error is/was a segmentation fault in the JS engine only affecting
i586 and not x86-64.
Have you checked building with "-mno-avx"?
Now I did but unfortunately no change.


Thanks,
Wolfgang
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
Cristian Rodríguez
2014-08-13 01:20:59 UTC
Permalink
Post by Wolfgang Rosenauer
Post by marguerite
Hi, listmates,
I found that there's no more xulrunner-devel package inside openSUSE:Factory.
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest/source/
So what happened to it? (I need it to build gpac package in Packman, which is a dependency for x264)
Recent versions of xulrunner stopped building for i586 and I have had
The linker is using inordinate (several GB) amounts of memory ..it is
axed by the OOM killer.. Try linking with gold .. -Wl,-fuse-ld=gold
but ensure that works..the package does not seem to honuour compiler
flags or linker flags correctly.
--
Cristian
"I don't know the key to success, but the key to failure is trying to
please everybody."
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
Wolfgang Rosenauer
2014-08-13 06:11:50 UTC
Permalink
Post by Cristian Rodríguez
Post by Wolfgang Rosenauer
Post by marguerite
Hi, listmates,
I found that there's no more xulrunner-devel package inside openSUSE:Factory.
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest/source/
So what happened to it? (I need it to build gpac package in Packman, which is a dependency for x264)
Recent versions of xulrunner stopped building for i586 and I have had
The linker is using inordinate (several GB) amounts of memory ..it is
axed by the OOM killer.. Try linking with gold .. -Wl,-fuse-ld=gold
but ensure that works..the package does not seem to honuour compiler
flags or linker flags correctly.
This happens only rarely and it also is the reason why it already has
<size unit="M">3500</size> in _constraints. The precompile_cache which
fails reliably is after the linking.


Wolfgang
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
marguerite
2014-08-18 09:22:48 UTC
Permalink
Hi, Wolfgang

I built xulrunner!

https://build.opensuse.org/package/show/home:MargueriteSu:branches:mozilla/xulrunner24

I tried these ways:

1. "ac_add_options --enable-release" failed
2. "-Wl,-fuse-ld=gold" failed

but when I thought I was out of capacity, the last thing worked!

I uncomment the "#ac_add_options --enable-debug" to see what happened.

And it succeeded, so I think there must be something in our config that requires this option to be enabled in newer xulrunner/firefox...so you may need to clean our old config....

MargueriteN�����r��y隊Z)z{.��ZrF��x>�{.n�+�������Ǩ�
Wolfgang Rosenauer
2014-08-18 09:49:31 UTC
Permalink
Post by marguerite
Hi, Wolfgang
I built xulrunner!
https://build.opensuse.org/package/show/home:MargueriteSu:branches:mozilla/xulrunner24
I uncomment the "#ac_add_options --enable-debug" to see what happened.
And it succeeded, so I think there must be something in our config that requires this option to be enabled in newer xulrunner/firefox...so you may need to clean our old config....
Hmm, that makes sense (a bit). I'm not surprised at least.
Did you use this xulrunner for anything yet?

enable-debug turns off some compiler optimizations but also keeps
debugging code in the binaries.
Therefore just using enable-debug is nothing I would suggest but it's a
good hint so we can have a deeper look into the actual compile switch
differences and find a proper workaround.

(Actually from a very quick look I still haven't found the relevant piece.)


Wolfgang
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
marguerite
2014-08-22 18:33:19 UTC
Permalink
Hi, Wolfgang,
Post by Wolfgang Rosenauer
enable-debug turns off some compiler optimizations but also keeps
debugging code in the binaries.
Therefore just using enable-debug is nothing I would suggest but it's a
good hint so we can have a deeper look into the actual compile switch
differences and find a proper workaround.
do these "-DDEBUG -D_DEBUG -DTRACING" and "-DNDEBUG -DTRIMMED" flags make any sense to you?

Marguerite��{.n�+�������������$j��맲��r��z�^�ˬz�
marguerite
2014-08-12 19:14:56 UTC
Permalink
Hi, maybe this thread will help.

http://forums.mozillazine.org/viewtopic.php?f=42&p=13681517

It's recent and describles almost the same problem (precompile_cache.js failed on 32bit only)

Someone in that thread built successfully on his machine with "ac_add_option --enable-release" which we don't have in our specfile.

I triggered a build with that line enabled:

https://build.opensuse.org/package/show/home:MargueriteSu:branches:mozilla/xulrunner24

I hope it will be good. then we can enable debug build to see what actually happened before

Marguerite


------------------ Original ------------------
From: "marguerite"<***@marguerite.su>;
Date: Mon, Aug 11, 2014 11:41 PM
To: "opensuse-packaging"<opensuse-***@opensuse.org>;

Subject: [opensuse-packaging] Where's xulrunner?


Hi, listmates,

I found that there's no more xulrunner-devel package inside openSUSE:Factory.

but it's still releasing:

http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest/source/

So what happened to it? (I need it to build gpac package in Packman, which is a dependency for x264)

Greetings

MargueirteN�����r��y隊Z)z{.��ZrF��x>�{.n�+�������Ǩ�
Wolfgang Rosenauer
2014-08-12 19:25:09 UTC
Permalink
Post by marguerite
Hi, maybe this thread will help.
http://forums.mozillazine.org/viewtopic.php?f=42&p=13681517
It's recent and describles almost the same problem (precompile_cache.js failed on 32bit only)
Someone in that thread built successfully on his machine with "ac_add_option --enable-release" which we don't have in our specfile.
https://build.opensuse.org/package/show/home:MargueriteSu:branches:mozilla/xulrunner24
I hope it will be good. then we can enable debug build to see what actually happened before
Please let me know. I cannot even find where that enable-release should
be evaluated though.

But yes, there is need for a solution because while Firefox up to
version 31 was not affected by this issue it actually is currently with
Firefox 32 Beta. Same i586 issue and same build step which fails but not
exactly the same issue as far as I have seen during debugging. Also it's
not only affecting Factory but also 13.1-i586.
Unless we want to drop Firefox as well some efforts are actually
required to debug it.
The new bug in Firefox I'm facing is here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1047803


Wolfgang
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
Loading...