Closed Bug 1670299 Opened 4 years ago Closed 1 year ago

Incremental builds error with ld.lld: error: undefined symbol: sqlite3_extended_errcode

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr78 unaffected, firefox81 unaffected, firefox82 unaffected, firefox83 fix-optional)

RESOLVED DUPLICATE of bug 1804588
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- unaffected
firefox82 --- unaffected
firefox83 --- fix-optional

People

(Reporter: emilio, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Me and Lee have independently seen this today at least. The relevant code has been added in bug 1669722.

The error looks like this:

 0:27.20 toolkit/library/build/libxul.so
 0:32.95 ld.lld: error: undefined symbol: sqlite3_extended_errcode
 0:32.95 >>> referenced by unlock_notify.rs:57 (/home/lee/central/third_party/rust/rusqlite/src/unlock_notify.rs:57)
 0:32.95 >>>               rusqlite-48062a1550db7b5f.rusqlite.26p0hva2-cgu.15.rcgu.o:(rusqlite::unlock_notify::is_locked::hfb762dfa1feca08c) in archive /home/lee/central/obj-dbg/x86_64-unknown-linux-gnu/debug/libgkrust.a

And the only way that I know to work around it is doing a clobber build.

Flags: needinfo?(markh)

I guess this is really a build system bug in that a change to https://searchfox.org/mozilla-central/source/third_party/sqlite3/src/sqlite.symbols should force a clobber build?

Flags: needinfo?(markh)

Set release status flags based on info from the regressing bug 1669722

Component: Storage → General
Product: Toolkit → Firefox Build System
Has Regression Range: --- → yes
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1804588
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.