https://bugs.llvm.org/show_bug.cgi?id=48494

            Bug ID: 48494
           Summary: ARM64 outline atomic helpers are built using the C
                    compiler
           Product: compiler-rt
           Version: unspecified
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: release blocker
          Priority: P
         Component: builtins
          Assignee: pavel.il...@arm.com
          Reporter: r...@tambre.ee
                CC: llvm-bugs@lists.llvm.org

Assembly files should not be compiled as C and instead use CMake's assembly
language support to allow for vendors and users to specify flags, compiler
options, use a different executable, have correct architecture flags, interact
properly with toolchain files, etc.

The compiler-rt ARM64 outline atomic helpers are a new and the only case of
this improper usage in the codebase.
It seems these should use the already-existing compiler-rt add_asm_sources()
helper.

Previous occurrences of this were fixed by
https://github.com/llvm/llvm-project/commit/45344cf7ac5b848f77825ffa37b0cb3b69b9b07b.
The improper usage resulted in multiple reports from users and vendors,
requiring a backport to resolve build issues.
It would be best to avoid a recurrence of the problems. Marking as a release
blocker due to this.

Pavel, could you take a look at this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to