Closed
Bug 1903095
Opened 1 year ago
Closed 1 year ago
macOS build fails with --disable-bootstrap
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mgaudet, Unassigned)
Details
ac_add_options --disable-bootstrap seems to break my ability to do macOS builds.
STR on f697ba433dda71a41fb879cc63e221cf5ef63ef5:
- set
MOZCONFIGto a file withac_add_options --disable-bootstrap - Build
Expected Result:
If we had previously been bootstrapped, build succeeds.
Actual Result:
M1MacBook:unified-git mgaudet$ make
./mach build
0:00.89 W Clobber not needed.
Config object not found by mach.
0:01.27 Using Python 3.12.3 from /Users/mgaudet/.mozbuild/srcdirs/unified-git-0c9f9c149629/_virtualenvs/build/bin/python
0:01.27 Adding configure options from /Users/mgaudet/mozconfigs/opt_browser.mozconfig
0:01.27 --disable-bootstrap
0:01.28 checking for vcs source checkout... git
0:01.34 checking for a shell... /bin/sh
0:01.46 checking for host system type... aarch64-apple-darwin23.5.0
0:01.46 checking for target system type... aarch64-apple-darwin23.5.0
0:02.15 checking whether cross compiling... no
0:02.46 checking for the target C compiler... /usr/bin/clang
0:02.46 checking for ccache... not found
0:02.52 Using target sysroot in /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
0:02.76 checking whether the target C compiler can be used... yes
0:02.76 checking for the target C++ compiler... /usr/bin/clang++
0:02.82 checking whether the target C++ compiler can be used... yes
0:02.90 checking for unwind.h... yes
0:03.09 checking for target linker...
0:03.09 DEBUG: Executing: `/usr/bin/clang -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=10.15 -std=gnu99 --target=arm64-apple-darwin -fuse-ld=lld -Wl,--version`
0:03.09 DEBUG: Executing: `/usr/bin/clang -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=10.15 -std=gnu99 --target=arm64-apple-darwin -fuse-ld=gold -Wl,--version`
0:03.09 DEBUG: Executing: `/usr/bin/clang -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=10.15 -std=gnu99 --target=arm64-apple-darwin -Wl,--version`
0:03.09 ERROR: Failed to find an adequate linker
*** Fix above errors and then restart with "./mach build"
make: *** [build] Error 1
Comment 1•1 year ago
|
||
I suspect you're using --disable-bootstrap to disable updates? See https://groups.google.com/a/mozilla.org/g/dev-platform/c/o9v8iLnfy6E/m/86iVXNZaAAAJ
(and yes, using system clang on mac doesn't work)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
| Reporter | ||
Comment 2•1 year ago
|
||
Whoops! I hadn't noticed that message when it went by and this was the first time I had built on a mac with one of my mozconfigs that had this hanging around. Apologies!
You need to log in
before you can comment on or make changes to this bug.
Description
•