/usr/bin/ld: js: hidden symbol `_ZN2js8Debugger16isCompilableUnitEP9JSContextjPN2JS5ValueE' isn't defined

NEW
Unassigned

Status

()

P3
normal
2 years ago
a year ago

People

(Reporter: fabrixx2, Unassigned)

Tracking

({triage-deferred})

51 Branch
triage-deferred
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

697.37 KB, text/plain
Details
(Reporter)

Description

2 years ago
Created attachment 8822859 [details]
Buld log

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20161213204132

Steps to reproduce:

Build Firefox 51.0b9 with this mozconfig:
ac_add_options --without-intl-api
ac_add_options --with-app-basename=FirefoxS
ac_add_options --disable-webrtc
ac_add_options --disable-updater
ac_add_options --disable-trace-logging
ac_add_options --disable-safe-browsing
ac_add_options --enable-raw
ac_add_options --disable-parental-controls
ac_add_options --enable-optimize
ac_add_options --disable-necko-wifi
ac_add_options --disable-maintenance-service
ac_add_options --disable-gamepad
ac_add_options --disable-directshow
ac_add_options --enable-bundled-fonts
ac_add_options --disable-accessibility
ac_add_options --disable-dbm
ac_add_options --disable-webspeech
ac_add_options --disable-eme
ac_add_options --disable-debug-symbols
ac_add_options --with-ccache CC=clang CXX=clang++
ac_add_options --enable-application=browser 
ac_add_options --enable-js-shell 
ac_add_options --enable-profiling 
ac_add_options --with-l10n-base=/home/fabrixx/Scrivania/l10n 
ac_add_options --enable-default-toolkit=cairo-gtk3 
ac_add_options --disable-crashreporter 
ac_add_options --disable-debug 
ac_add_options --enable-official-branding 
ac_add_options --disable-tests 
ac_add_options --enable-ui-locale=it 
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ffosS-release
mk_add_options MOZ_MAKE_FLAGS="-j4"
export MOZ_DEBUG_SYMBOLS=1
export MOZILLA_OFFICIAL=1
mk_add_options MOZ_CO_LOCALES="it"
ac_add_options --enable-ui-locale=it


Actual results:

    INPUT("../../../memory/mozjemalloc/jemalloc.o")
    INPUT("../../../memory/fallible/fallible.o")
    INPUT("../editline/Unified_c_js_src_editline0.o")

../libjs_static.a(Unified_cpp_js_src31.o):(.data.rel.ro._ZN2js8Debugger14static_methodsE+0x8): riferimento non definito a "js::Debugger::isCompilableUnit(JSContext*, unsigned int, JS::Value*)"
/usr/bin/ld: js: hidden symbol `_ZN2js8Debugger16isCompilableUnitEP9JSContextjPN2JS5ValueE' isn't defined
/usr/bin/ld: link finale non riuscito: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
/home/fabrixx/Disco2/firefox-51.0b9.source/firefox-51.0b9/config/rules.mk:640: set di istruzioni per l'obiettivo "js" non riuscito
make[5]: *** [js] Errore 1
make[5]: uscita dalla directory "/home/fabrixx/Disco2/firefox-51.0b9.source/firefox-51.0b9/objdir-ffosS-release/browser/js/src/shell"
/home/fabrixx/Disco2/firefox-51.0b9.source/firefox-51.0b9/config/recurse.mk:71: set di istruzioni per l'obiettivo "js/src/shell/target" non riuscito
make[4]: *** [js/src/shell/target] Errore 2
make[4]: *** Attesa per i processi non terminati....


This is my complete build log:
https://goo.gl/imd5Nm

Updated

2 years ago
Component: Untriaged → Build Config
Product: Firefox → Core
http://searchfox.org/mozilla-central/rev/51aa673e28802fe6ea89f4793721fc55334a6ac8/js/src/vm/Debugger.cpp#5068

The definition of Debugger::isCompilableUnit is unnecessarily inside #ifdef JS_TRACE_LOGGING
Status: UNCONFIRMED → NEW
Component: Build Config → JavaScript Engine
Ever confirmed: true

Comment 2

2 years ago
The patch is in https://bugzilla.mozilla.org/show_bug.cgi?id=1301880
Keywords: triage-deferred
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.