[all-commits] [llvm/llvm-project] 20406a: [runtime] Have the runtime use the compiler builti...

Brad Smith via All-commits all-commits at lists.llvm.org
Mon Nov 27 10:23:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20406af31ba5996edd4db3b7363ac1a870859929
      https://github.com/llvm/llvm-project/commit/20406af31ba5996edd4db3b7363ac1a870859929
  Author: Brad Smith <brad at comstyle.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M openmp/runtime/src/kmp_safe_c_api.h

  Log Message:
  -----------
  [runtime] Have the runtime use the compiler builtin for alloca on NetBSD (#73480)

Most of the tests were failing with the following in their logs..

| /usr/bin/ld: /home/brad/llvm-build/runtimes/runtimes-bins/openmp/runtime/src/libomp.so:
warning: Warning: reference to the libc supplied alloca(3); this most likely will not
work. Please use the compiler provided version of alloca(3), by supplying the appropriate
compiler flags (e.g. -std=gnu99).

By making use of __builtin_alloca..

before:

Total Discovered Tests: 353
  Unsupported:  59 (16.71%)
  Passed     :  51 (14.45%)
  Failed     : 243 (68.84%)

after:

Total Discovered Tests: 353
  Unsupported:  59 (16.71%)
  Passed     : 290 (82.15%)
  Failed     :   4 (1.13%)




More information about the All-commits mailing list