Closed
Bug 1934458
Opened 2 months ago
Closed 2 months ago
Linux 32-bit libotr build broken
Categories
(Thunderbird :: Build Config, defect)
Thunderbird
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
135 Branch
People
(Reporter: darktrojan, Assigned: rjl)
Details
(Whiteboard: [tb-build-bustage])
Attachments
(1 file)
Log says:
i686-linux-gnu-clang -shared '--target=i686-pc-linux -m32 -march=pentium-m -msse -msse2 -mfpmath=sse -fuse-ld=lld' -Wl,-soname -Wl,libotr.so .libs/auth.o .libs/b64.o .libs/context.o .libs/context_priv.o .libs/dh.o .libs/instag.o .libs/mem.o .libs/message.o .libs/privkey.o .libs/proto.o .libs/sm.o .libs/tlv.o .libs/userstate.o -L/builds/worker/workspace/build/build_prefix/lib /builds/worker/workspace/build/build_prefix/lib/libgcrypt.a /builds/worker/workspace/build/build_prefix/lib/libgpg-error.a --sysroot=/builds/worker/fetches/sysroot-i686-linux-gnu -Wl,-soname -Wl,libotr.so -o libotr.so
i686-linux-gnu-clang: error: version 'm32 -march=pentium-m -msse -msse2 -mfpmath=sse -fuse-ld=lld' in target triple 'i686-pc-linux -m32 -march=pentium-m -msse -msse2 -mfpmath=sse -fuse-ld=lld' is invalid
So it's mixing the target with the other flags and putting quotes around all of it. I can see how that would cause a problem. :-) Suspect it's because of the update to clang 19.
Updated•2 months ago
|
Whiteboard: [tb-build-bustage]
Assignee | ||
Comment 1•2 months ago
|
||
It's not an array, do not treat it as such.
Updated•2 months ago
|
Assignee: nobody → rob
Status: NEW → ASSIGNED
Assignee | ||
Updated•2 months ago
|
Keywords: checkin-needed-tb
Target Milestone: --- → 135 Branch
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b5cb1b6f9d18
Do not treat LDFLAGS as a bash array to appease shellcheck. r=dandarnell
You need to log in
before you can comment on or make changes to this bug.
Description
•