Opened 19 months ago

Closed 18 months ago

Last modified 17 months ago

#26261 closed defect (fixed)

Error building openssl for macOS

Reported by: boklm Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: TorBrowserTeam201805, tbb-rbm
Cc: sukhbir Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

When building openssl for macOS with the current master branch, I get the following error:

x86_64-apple-darwin10-ar  r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o o_fips.o o_init.o fips_ers.o x86_64cpuid.o
x86_64-apple-darwin10-ar: creating archive ../libcrypto.a
/var/tmp/dist/macosx-toolchain/cctools/bin/x86_64-apple-darwin10-ranlib: object: ../libcrypto.a(mem_dbg.o) malformed object (unknown load command 2)
x86_64-apple-darwin10-ar: internal ranlib command failed
make[1]: *** [../libcrypto.a] Error 1
Makefile:104: recipe for target '../libcrypto.a' failed
make[1]: Leaving directory '/var/tmp/build/openssl-1.0.2o/crypto'
make: *** [build_crypto] Error 1
Makefile:288: recipe for target 'build_crypto' failed

I think it might be related to the llvm update that was done as part of #26073.

Child Tickets

Change History (2)

comment:1 in reply to:  description Changed 19 months ago by gk

Replying to boklm:

I think it might be related to the llvm update that was done as part of #26073.

Yes. I am close to have patches for review for #24632, stay tuned. This bug will be fixed by them.

comment:2 Changed 18 months ago by gk

Resolution: fixed
Status: newclosed

That's fixed after all the patches landed related to #24632.

Note: See TracTickets for help on using tickets.