Opened 6 months ago

Last modified 6 months ago

#73179 new defect

clang-16 @16.0.6_8+analyzer failed build on macOS Sequoia 15.7.1 x86_64

Reported by: tjahns (Thomas) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: clang-16

Description

Building clang-16@16.0.6_8+analyzer results in an error:

:info:build cd /opt/local/var/macports/build/clang-16-0a9b7ed2/work/build/projects/compiler-rt/lib/xray && /usr/bin/clang++ -DXRAY_HAS_EXCEPTIONS=1 -DXRAY_SUPPORTED=1 -D__STDC_CONSTANT_MACROS -D__STDC_FO>
:info:build clang++: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
:info:build ld: warning: fixed-size symbol '_setjmp$non_lazy_ptr' is located within another atom, entire atom content will be used instead
:info:build ld: warning: fixed-size symbol '__setjmp$non_lazy_ptr' is located within another atom, entire atom content will be used instead
:info:build ld: warning: fixed-size symbol '_sigsetjmp$non_lazy_ptr' is located within another atom, entire atom content will be used instead
:info:build ld: 32-bit pointer in 64-bit arch: r_address=0x10, r_type=0, r_extern=1, r_pcrel=0, r_length=2 in 'CMakeFiles/clang_rt.tsan_osx_dynamic.dir/tsan_rtl_aarch64.S.o'
:info:build clang++: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build /usr/bin/clang++ -pipe -Os -DNDEBUG -I/opt/local/include  -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded->
:info:build make[2]: *** [lib/clang/16/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/clang-16-0a9b7ed2/work/build'
:info:build make[1]: *** [projects/compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan_osx_dynamic.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....

Attachments (1)

main.log.txt (4.6 MB) - added by tjahns (Thomas) 6 months ago.
Full log of build commands for clang-16 on my machine (added .txt suffix for easier viewing)

Change History (3)

Changed 6 months ago by tjahns (Thomas)

Attachment: main.log.txt added

Full log of build commands for clang-16 on my machine (added .txt suffix for easier viewing)

comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Port: clang-16 added
Summary: clang-16@16.0.6_8+analyzer failed build on macOS Sequoia 15.7.1 x86_64clang-16 @16.0.6_8+analyzer failed build on macOS Sequoia 15.7.1 x86_64

comment:2 Changed 6 months ago by tjahns (Thomas)

Update: the problem does not persist and another go at sudo port upgrade outdated yielded a successful run without error messages.

Note: See TracTickets for help on using tickets.