Skip to contentSkip to conversation

_linux.cfg file is wrong for powerpc in Mozilla builds

DISCUSSION Kevin B. Hendricks 2 participants 2 messages Jul 18, 2000

lore
Share & tools
lore
#0 lore raw

To (Whomever supports Mozilla on PowerPC).

I have been trying to trackdown a bug with the forthcoming jdk 1.3 oji plugin for Mozilla (that will give mozilla full java capabilities). It seems the plugin relies on the libnspr4.so shared lib provided by the mozilla source tree. I noticed that the _linux.cfg file that is used to generate prcpucfg.h has the wrong alignment constraint for both int64 types and doubles.

They are both set to 4 now and they should be 8. Also the proper HAVE_ALIGNED_XXXXX definitions should be set for powerpc.

This causes problem with pipes and things and some of the unions that are used in the code.

Will whomever is supporting Mozilla on Linux PowerPC please check out _linux.cfg found in the nsprpub directory tree and get this fixed.

Thanks,

Kevin

ps. I checked and the problem is still in the nightly builds.

Thanks,

Kevin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 11 lines · Kevin B. Hendricks

To (Whomever supports Mozilla on PowerPC).

I have been trying to trackdown a bug with the forthcoming jdk 1.3 oji plugin for Mozilla (that will give mozilla full java capabilities). It seems the plugin relies on the libnspr4.so shared lib provided by the mozilla source tree. I noticed that the _linux.cfg file that is used to generate prcpucfg.h has the wrong alignment constraint for both int64 types and doubles.

They are both set to 4 now and they should be 8. Also the proper HAVE_ALIGNED_XXXXX definitions should be set for powerpc.

Quoted 6 lines

This causes problem with pipes and things and some of the unions that are used in the code.

Will whomever is supporting Mozilla on Linux PowerPC please check out _linux.cfg
found in the nsprpub directory tree and get this fixed.

I'll take care of this.

Franz.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/