You are not logged in.

#1 2007-07-18 14:07:42

wantilles
Member
From: Athens - Greece
Registered: 2007-03-29
Posts: 327

Firefox 2.0.0.5 does not build on SMP gcc configuration

Firefox 2.0.0.5 cannot be built on an SMP gcc configuration.

The PKGBUILD needs to have the following added just before the build starts:

export MAKEFLAGS="-j1"

Should I file it as a bug report?

It can be reproduced in any SMP machine.

Offline

#2 2007-07-18 16:29:41

mitsoko
Banned
From: In the Coal Chamber
Registered: 2007-05-08
Posts: 143

Re: Firefox 2.0.0.5 does not build on SMP gcc configuration

you're saying it builds with -j1 big_smile ? because all previous versions I've built failed with -j*;
if so, then it would be nice to have a line added in the pkgbuild about that.

Last edited by raeven (2007-07-18 16:30:30)

Offline

#3 2007-07-19 06:27:40

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Firefox 2.0.0.5 does not build on SMP gcc configuration

the last versions built fine in smp mode so we removed the -j1 switch. since makepkg3 the way to disable broken smp make use the options tag:

options=('!makeflags')

Offline

#4 2007-07-21 13:57:02

wantilles
Member
From: Athens - Greece
Registered: 2007-03-29
Posts: 327

Re: Firefox 2.0.0.5 does not build on SMP gcc configuration

AndyRTR wrote:

the last versions built fine in smp mode so we removed the -j1 switch.

2.0.0.4 built in SMP.

However 2.0.0.5 does not build in SMP.

AndyRTR wrote:

since makepkg3 the way to disable broken smp make use the options tag:

options=('!makeflags')

Could you be a little more specific please?

Some link to relevant documentation perhaps?

Offline

#5 2007-07-22 14:16:42

djscholl
Member
From: Michigan, USA
Registered: 2006-05-24
Posts: 56

Re: Firefox 2.0.0.5 does not build on SMP gcc configuration

I hadn't heard about this option either, until I read this thread. I know of two other packages that won't build with parallel make. It's the first thing I try now, when a package won't build. In my experience, the errors it causes can be non-obvious, and it's easy to try. My old workaround was to add "unset MAKEFLAGS" to the build script. I found more information by running the command

man PKGBUILD

and then typing "/makeflags" without the quotes into the pager to find the section that discusses makeflags.
Hope this helps.

Offline

Board footer

Powered by FluxBB