Closed Bug 297785 Opened 20 years ago Closed 20 years ago

Build process is killed in nss building with gcc 4.0 bundled with XCode 2.1

Categories

(Firefox Build System :: General, defect)

PowerPC
macOS
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: fredbezies, Assigned: mark)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050614 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050614 Firefox/1.0+

I search on bugzilla using gcc 4.0 and found two open bugs which don't match.

So here is the problem.

When I try to build firefox using gcc 4.0 bundled with XCode 2.1 (gcc version
4.0.0 (Apple Computer, Inc. build 5026)), under Tiger 10.4.1 fully up to date
and a source code up-to-date until today at 07:00 am mozilla.org time), it gave
me this killing error :

"Ld "build/Default Plugin.plugin/Contents/MacOS/Default Plugin" normal ppc
    mkdir "build/Default Plugin.plugin/Contents/MacOS"
    cd /Users/frederic/Documents/logs/fox/mozilla/modules/plugin/samples/default/mac
    /usr/bin/g++-4.0 -o "build/Default Plugin.plugin/Contents/MacOS/Default
Plugin" -Lbuild -L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib -Fbuild
-F/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/CoreFoundation.framework
-filelist
"/Users/frederic/Documents/logs/fox/mozilla/modules/plugin/samples/default/mac/build/DefaultPlugin.build/Deployment/Default
Plugin.build/Objects-normal/ppc/Default Plugin.LinkFileList" -framework Carbon
-framework CoreFoundation -arch ppc -bundle -isysroot
/Developer/SDKs/MacOSX10.3.9.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk
/usr/bin/ld: warning NEXT_ROOT environment variable ignored because -syslibroot
specified
/usr/bin/ld: warning -prebind has no effect with -bundle
/usr/bin/ld: can't locate file for: -lSystemStubs
collect2: ld returned 1 exit status
** BUILD FAILED **
make[4]: *** [build-plugin] Error 1
make[3]: *** [libs] Error 2
make[2]: *** [tier_9] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2"


Here is my .mozconfig :

 sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#

. $topsrcdir/browser/config/mozconfig

# Options for 'configure' (same as command-line options).
ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.3.9.sdk
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize=-Os
ac_add_options --enable-prebinding
ac_add_options --enable-canvas
ac_add_options --disable-shared
ac_add_options --enable-static
ac_add_options --enable-svg

Any idea ? Or gcc 4.0 building process is still broken ?

Reproducible: Always

Steps to Reproduce:
1.Get Tiger up to date and XCode 2.1
2.Grab sources
3.Build them using this .mozconfig
4.Wait

Actual Results:  
Crashes in default plugin building

Expected Results:  
Getting a firefox build.

I tried because of those two bugs (294244 and 297619) were fixed.

Have I to go back to gcc 3.3 for some times ?
I have not tried "--enable-optimize=-Os" myself, so cant verify if its broken.
But the last week I have successfully built Firefox with the exact same setup
(Mac OS 10.4.1, Xcode 2.1 and GCC 4.0.0 build 5026).
Last build today, after the 294244 patch was checked in.

I am using the following .mozconfig:
--------------------------------------
. $topsrcdir/browser/config/mozconfig

ac_add_options --enable-svg
ac_add_options --enable-strip
ac_add_options --enable-static
ac_add_options --enable-canvas
ac_add_options --enable-pthreads
ac_add_options --enable-prebinding
ac_add_options --enable-macos-target=10.3
ac_add_options --enable-optimize="-O3 -mcpu=7450 -faltivec"

ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --disable-shared

ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.3.9.sdk

ac_add_options --without-system-png
ac_add_options --without-system-mng
ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
Sounds like mine.  Frederic, I wasn't able to reproduce with your settings.  The
errors indicate that libSystemStubs.a couldn't be found.  Could you check to see
if this file exists?

/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystemStubs.a
Assignee: nobody → mark
In answer to comment 1 :

I will try to add all the "--without-system", if it could help.

In answer to comment 2 :

Don't have this lib in my SDK. But I installed it from my tiger DVD...

Do you have it ?
Looks like I got the answer.

After using the "--without" options in .mozconfig, I was still having this crashing bug.

I looked with spotlight to find the library and it tells me it is in : /Developer/SDKs/MacOSX10.4u.sdk/
usr/lib/

So, I will try with this SDK, but the problem is how to set the shared menu framework to get them work 
with 10.4u SDK.

Any idea ?
In order to link sharedmenu framework with 10.4u.sdk, I do this :

1) creating the symbolic link in
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/

2) Creating another symbolic link with ln -s
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/ Library in 10.4u.sdk root directory.

I launched after this building process, and  it is still broken, but later.

It breaks in crypto part beginning is nss, saying :

"cd util; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:20 CEST 2005
cd freebl; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:20 CEST 2005
cd softoken; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:20 CEST 2005
cd base; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:20 CEST 2005
cd asn1; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/private/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/private/nss] Error 127
Thu Jun 16 09:51:21 CEST 2005
cd dev; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/private/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/private/nss] Error 127
Thu Jun 16 09:51:21 CEST 2005
cd pki; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/private/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/private/nss] Error 127
Thu Jun 16 09:51:21 CEST 2005
cd pki1; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/private/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/private/nss] Error 127
Thu Jun 16 09:51:21 CEST 2005
cd certdb; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:22 CEST 2005
cd certhigh; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:22 CEST 2005
cd pk11wrap; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:22 CEST 2005
cd cryptohi; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:22 CEST 2005
cd nss; /usr/bin/make -j1 export
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:24 CEST 2005
cd ssl; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:24 CEST 2005
cd pkcs12; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:24 CEST 2005
cd pkcs7; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:24 CEST 2005
cd smime; /usr/bin/make -j1 export
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:25 CEST 2005
cd crmf; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:25 CEST 2005
cd jar; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:25 CEST 2005
cd ckfw; /usr/bin/make -j1 export
expr: non-numeric argument
cd builtins; /usr/bin/make -j1 export
expr: non-numeric argument
Creating ../../../../../dist/public/nss
/bin/sh: line 1: ../../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall:
No such file or directory
make[6]: *** [../../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:25 CEST 2005
Creating ../../../../dist/public/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:25 CEST 2005
cd fortcrypt; /usr/bin/make -j1 export
expr: non-numeric argument
cd swfort; /usr/bin/make -j1 export
expr: non-numeric argument
cd pkcs11; /usr/bin/make -j1 export
expr: non-numeric argument
make[7]: Nothing to be done for `export'.
Thu Jun 16 09:51:26 CEST 2005
Creating ../../../../../dist/public/nss
/bin/sh: line 1: ../../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall:
No such file or directory
make[6]: *** [../../../../../dist/public/nss] Error 127
Thu Jun 16 09:51:26 CEST 2005
cd swfort; /usr/bin/make -j1 private_export
expr: non-numeric argument
cd pkcs11; /usr/bin/make -j1 private_export
expr: non-numeric argument
There are no private exports.
Thu Jun 16 09:51:26 CEST 2005
Creating ../../../../../dist/private/nss
/bin/sh: line 1: ../../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall:
No such file or directory
make[6]: *** [../../../../../dist/private/nss] Error 127
Thu Jun 16 09:51:26 CEST 2005
Creating ../../../../dist/private/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [../../../../dist/private/nss] Error 127
Thu Jun 16 09:51:26 CEST 2005
cd util; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/quickder.o] Error 127
Thu Jun 16 09:51:27 CEST 2005
cd freebl; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/ldvector.o] Error 127
Thu Jun 16 09:51:27 CEST 2005
cd softoken; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/alghmac.o] Error 127
Thu Jun 16 09:51:27 CEST 2005
cd base; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/arena.o] Error 127
Thu Jun 16 09:51:27 CEST 2005
cd asn1; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/asn1.o] Error 127
Thu Jun 16 09:51:27 CEST 2005
cd dev; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/devmod.o] Error 127
Thu Jun 16 09:51:28 CEST 2005
cd pki; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/asymmkey.o] Error 127
Thu Jun 16 09:51:28 CEST 2005
cd pki1; /usr/bin/make -j1 libs
expr: non-numeric argument
make[5]: Nothing to be done for `libs'.
Thu Jun 16 09:51:28 CEST 2005
cd certdb; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/alg1485.o] Error 127
Thu Jun 16 09:51:28 CEST 2005
cd certhigh; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/certhtml.o] Error 127
Thu Jun 16 09:51:28 CEST 2005
cd pk11wrap; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/dev3hack.o] Error 127
Thu Jun 16 09:51:28 CEST 2005
cd cryptohi; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/sechash.o] Error 127
Thu Jun 16 09:51:29 CEST 2005
cd nss; /usr/bin/make -j1 libs
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/nssinit.o] Error 127
Thu Jun 16 09:51:30 CEST 2005
cd ssl; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/emulate.o] Error 127
Thu Jun 16 09:51:30 CEST 2005
cd pkcs12; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/p12local.o] Error 127
Thu Jun 16 09:51:30 CEST 2005
cd pkcs7; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/certread.o] Error 127
Thu Jun 16 09:51:30 CEST 2005
cd smime; /usr/bin/make -j1 libs
expr: non-numeric argument
expr: non-numeric argument
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/cmsarray.o] Error 127
Thu Jun 16 09:51:31 CEST 2005
cd crmf; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/crmfenc.o] Error 127
Thu Jun 16 09:51:31 CEST 2005
cd jar; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/jarver.o] Error 127
Thu Jun 16 09:51:31 CEST 2005
cd ckfw; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/find.o] Error 127
Thu Jun 16 09:51:31 CEST 2005
cd fortcrypt; /usr/bin/make -j1 libs
expr: non-numeric argument
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[5]: *** [Darwin8.1.0_OPT.OBJ/forsock.o] Error 127
Thu Jun 16 09:51:32 CEST 2005
/usr/bin/make -C ../../security/nss/cmd/lib MAKE="/usr/bin/make -j1" -j1
CC="gcc"
MOZILLA_INCLUDES="-I/Users/frederic/Documents/logs/fox/mozilla/dist/include/nspr
-I/Users/frederic/Documents/logs/fox/mozilla/dist/include/dbm"
SOURCE_MD_DIR=/Users/frederic/Documents/logs/fox/mozilla/dist
DIST=/Users/frederic/Documents/logs/fox/mozilla/dist MOZILLA_CLIENT=1
NO_MDUPDATE=1 BUILD_OPT=1 NS_USE_GCC=1 NS_USE_NATIVE= NSDISTMODE=absolute_symlink
expr: non-numeric argument
Creating ../../../../dist/private/nss
/bin/sh: line 1: ../../../coreconf/nsinstall/Darwin8.1.0_OPT.OBJ/nsinstall: No
such file or directory
make[4]: *** [../../../../dist/private/nss] Error 127
make[3]: *** [libs] Error 2
make[2]: *** [tier_50] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
"

So what to do next ?

Changing summary to reflect progress in building process.
Summary: Build process is killed in plugin building with gcc 4.0 bundled with XCode 2.1 → Build process is killed in nss building with gcc 4.0 bundled with XCode 2.1
(In reply to comment #3)
> In answer to comment 1 :
> 
> I will try to add all the "--without-system", if it could help.

It won't make a difference.

> In answer to comment 2 :
> 
> Don't have this lib in my SDK. But I installed it from my tiger DVD...

Your 10.3.9 SDK is incomplete then.  Get the Xcode 2.1 installer again
(connect.apple.com if you no longer have it), be sure to "Customize" the
installation after picking a disk to install to, and turn on the "Cross
Development" options.  Specifically, if you want to target 10.3.9, check the box
to install the Mac OS X 10.3.9 SDK.

You should also be able to build without targeting any SDK.

Be sure to do a complete clean of the mozilla directory before trying a new build.

> Do you have it ?

Yup.

(In reply to comment #4)
> I looked with spotlight to find the library and it tells me it is in :
> /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/

We don't support building with that SDK yet.

You should have several copies of libSystemStubs.a on your system: one for each
SDK, and one in the root /usr/lib.

> So, I will try with this SDK, but the problem is how to set the shared menu
> framework to get them work 
> with 10.4u SDK.

SharedMenusCocoa.framework is only required if you're building Camino.  The
build instructions need to be updated.
In answer to comment #6 :

1) I cannot understand how my 10.3.9 SDK could be incomplete. I grabbed it from my Tiger DVD :(

2) This story of missing lib only appears when I try to build with gcc 4.0

3) My sources are completely clean. I have a tar.bz2 "backup" of my firefox sources I used before any 
building process.

Also spotlight is giving only find 1 libSystemStubs.a, and none in my 10.3.9 SDK :(

4) Thanks for the tip about Shared Menu Framework. I will remove it as I don't build Camino on my 
mac.
(In reply to comment #7)
> 1) I cannot understand how my 10.3.9 SDK could be incomplete. I grabbed it
> from my Tiger DVD :(

Xcode 2.0?

I don't have that package handy at the moment, but I checked the Xcode 2.1
package and verified that it does include the file you're missing.

You should be using the SDKs packaged with Xcode 2.1.

> 2) This story of missing lib only appears when I try to build with gcc 4.0

gcc 3.3 does not link against libSystemStubs.

Marking invalid because this is a missing file specific to your system.  I'll
continue to monitor this bug.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
I wanted to resolve it as INVALID myself ;p

Anyway, the answer to use XCode 2.1 version of SDK 10.3.9.

I am using a gcc 4.0 enabled build, and so far, no big problems.

Thanks for the tip about SDK version.
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.