Closed Bug 1934458 Opened 2 months ago Closed 2 months ago

Linux 32-bit libotr build broken

Categories

(Thunderbird :: Build Config, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
135 Branch

People

(Reporter: darktrojan, Assigned: rjl)

Details

(Whiteboard: [tb-build-bustage])

Attachments

(1 file)

e.g. https://treeherder.mozilla.org/jobs?repo=comm-central&group_state=expanded&tier=1&selectedTaskRun=Ts_K3IcASgeHjhK-JeowvA.0

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.

Whiteboard: [tb-build-bustage]

It's not an array, do not treat it as such.

Assignee: nobody → rob
Status: NEW → ASSIGNED
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

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: