Skip to content

Commit

Permalink
rebuild image (cs50/cli ubuntu-24.04 updates)
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Jun 23, 2024
1 parent 0c96b03 commit a2bb8aa
Showing 0 changed files with 0 additions and 0 deletions.

1 comment on commit a2bb8aa

@sgilbert-student
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This update seems to change clang from 14.0.0 to 18. Unfortunately, that breaks all of my student's makefiles, which include any -fsantiize= lines.
In the previous image, all of the santitizers were built in this folder: /usr/lib/llvm-14/lib/clang/14.0.0/lib/linux/

This is what make hello does (with hello.cpp)
$ make hello
/usr/bin/ld: cannot find /usr/lib/llvm-18/lib/clang/18/lib/linux/libclang_rt.ubsan_standalone-x86_64.a: No such file or directory
/usr/bin/ld: cannot find /usr/lib/llvm-18/lib/clang/18/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

I can fix this by removing all of the -fstanitize flags from CXXFLAGS
I just wish this hadn't happened on Sunday night.

Please sign in to comment.