[lldb-dev] [Bug 21136] New: test_with_dwarf (TestAsan.AsanTestCase) fails to build on FreeBSD

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 2 12:32:39 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21136

            Bug ID: 21136
           Summary: test_with_dwarf (TestAsan.AsanTestCase) fails to build
                    on FreeBSD
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

Change dir to: /tank/emaste/src/llvm/tools/lldb/test/functionalities/asan
1: test_with_dwarf (TestAsan.AsanTestCase) ... 
os command: gmake clean ; gmake MAKE_DSYM=NO ARCH=amd64 CC="/usr/bin/clang" 
with pid: 78818
stdout: rm -f "a.out"  main.o main.d  
rm -f -r 
/usr/bin/clang  -fsanitize=address -g -m64  
-I/tank/emaste/src/llvm/tools/lldb/test/make/../../include   -c -o main.o
main.c
/usr/bin/clang  main.o  -fsanitize=address -g -m64  
-I/tank/emaste/src/llvm/tools/lldb/test/make/../../include   -o "a.out"

stderr: main.o: In function `main':
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:25: undefined
reference to `__asan_option_detect_stack_use_after_return'
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:25: undefined
reference to `__asan_stack_malloc_2'
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:25: undefined
reference to `__asan_report_store4'
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:25: undefined
reference to `__asan_report_store4'
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:25: undefined
reference to `__asan_report_store8'
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:31: undefined
reference to `__asan_report_store1'
main.o: In function `asan.module_ctor':
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:33: undefined
reference to `__asan_init_v3'
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:33: undefined
reference to `__asan_register_globals'
main.o: In function `asan.module_dtor':
/tank/emaste/src/llvm/tools/lldb/test/functionalities/asan/main.c:33: undefined
reference to `__asan_unregister_globals'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [a.out] Error 1

retcode: 2


ERROR

os command: gmake clean 
with pid: 78872
stdout: rm -f "a.out"  main.o main.d  
rm -f -r 

stderr: 
retcode: 0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141002/c7a83e90/attachment.html>


More information about the lldb-dev mailing list