Open Bug 1562515 Opened 7 years ago Updated 3 years ago

Build 66.0.2 failed with macOS 10.14.2

Categories

(Firefox Build System :: General, defect)

66 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: xnxin, Unassigned)

Details

(Keywords: in-triage)

Attachments

(2 files)

Attached file build.log

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0

Actual results:

When I tried to build 66.0.2 to debug with my macOS 10.14.2, it will raise warning

0:10.20 ld: warning: ignoring file ../../security/nss/lib/crmf/crmf_crmf/libcrmf.a, file was built for archive which is not the architecture being linked (x86_64): ../../security/nss/lib/crmf/crmf_crmf/libcrmf.a
0:10.20 ld: warning: ignoring file ../../js/src/build/libjs_static.a, file was built for archive which is not the architecture being linked (x86_64): ../../js/src/build/libjs_static.a

Then, such a lot of error with Undefined symbols for architecture x86_64.

And my configure file:

Enable debug builds

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --disable-install-strip
ac_add_options --disable-optimize
ac_add_options --enable-debug-symbols
ac_add_options --enable-debug
ac_add_options --disable-tests
ac_add_options --with-clang-path=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
ac_add_options --with-libclang-path=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
ac_add_options BINDGEN_CFLAGS=$(pkg-config nspr --cflags)

Attachment #9075053 - Attachment mime type: text/x-log → text/plain

Does this reproduce with an empty mozconfig?

Flags: needinfo?(xnxin)
Attached file build.log

Obviously, I tried this before edit mozconfig, I got problem with an empty mozconfig, so I goto the irc to ask for help in channel #build, They told me to change mozconfig ac_add_options --with-clang-path and ac_add_options --with-libclang-path, If build with an empty mozconfig, also has an error.

Flags: needinfo?(xnxin)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: