This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/62088] New: [GCC-4.10.1] Compilation failed to produce executable: torture with -fsanitize=address


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62088

            Bug ID: 62088
           Summary: [GCC-4.10.1] Compilation failed to produce executable:
                    torture with -fsanitize=address
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sabrinadfs at gmail dot com

GCC-4.10.0 (trunk)
x86_64-apple-darwin11.4.2

Running the following test:
make -s -C gcc check-gcc RUNTESTFLAGS="dg-torture.exp=pr44050.c
--target_board=unix/-fsanitize=address"

GCC produced these error messages:
------------------------------------------------------------------------
FAIL: gcc.dg/torture/pr44050.c   -O0  (test for excess errors)
Excess errors:
ld: library not found for -lasan

UNRESOLVED: gcc.dg/torture/pr44050.c   -O0  compilation failed to produce
executable
Executing on host: /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
 -fno-diagnostics-show-caret -fdiagnostics-color=never    -O1  -fno-tree-pta 
-lm   -fsanitize=address  -o ./pr44050.exe    (timeout = 300)
spawn /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O1 -fno-tree-pta -lm
-fsanitize=address -o ./pr44050.exe
ld: library not found for -lasan
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
ld: library not found for -lasan
collect2: error: ld returned 1 exit status

FAIL: gcc.dg/torture/pr44050.c   -O1  (test for excess errors)
Excess errors:
ld: library not found for -lasan

UNRESOLVED: gcc.dg/torture/pr44050.c   -O1  compilation failed to produce
executable
Executing on host: /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
 -fno-diagnostics-show-caret -fdiagnostics-color=never    -O2  -fno-tree-pta 
-lm   -fsanitize=address  -o ./pr44050.exe    (timeout = 300)
spawn /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fno-tree-pta -lm
-fsanitize=address -o ./pr44050.exe
ld: library not found for -lasan
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
ld: library not found for -lasan
collect2: error: ld returned 1 exit status

FAIL: gcc.dg/torture/pr44050.c   -O2  (test for excess errors)
Excess errors:
ld: library not found for -lasan

UNRESOLVED: gcc.dg/torture/pr44050.c   -O2  compilation failed to produce
executable
Executing on host: /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
 -fno-diagnostics-show-caret -fdiagnostics-color=never    -O3
-fomit-frame-pointer  -fno-tree-pta  -lm   -fsanitize=address  -o ./pr44050.exe
   (timeout = 300)
spawn /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O3 -fomit-frame-pointer
-fno-tree-pta -lm -fsanitize=address -o ./pr44050.exe
ld: library not found for -lasan
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
ld: library not found for -lasan
collect2: error: ld returned 1 exit status

FAIL: gcc.dg/torture/pr44050.c   -O3 -fomit-frame-pointer  (test for excess
errors)
Excess errors:
ld: library not found for -lasan

UNRESOLVED: gcc.dg/torture/pr44050.c   -O3 -fomit-frame-pointer  compilation
failed to produce executable
Executing on host: /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
 -fno-diagnostics-show-caret -fdiagnostics-color=never    -O3 -g  -fno-tree-pta
 -lm   -fsanitize=address  -o ./pr44050.exe    (timeout = 300)
spawn /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O3 -g -fno-tree-pta -lm
-fsanitize=address -o ./pr44050.exe
ld: library not found for -lasan
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
ld: library not found for -lasan
collect2: error: ld returned 1 exit status

FAIL: gcc.dg/torture/pr44050.c   -O3 -g  (test for excess errors)
Excess errors:
ld: library not found for -lasan

UNRESOLVED: gcc.dg/torture/pr44050.c   -O3 -g  compilation failed to produce
executable
Executing on host: /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
 -fno-diagnostics-show-caret -fdiagnostics-color=never    -Os  -fno-tree-pta 
-lm   -fsanitize=address  -o ./pr44050.exe    (timeout = 300)
spawn /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc
-B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/pr44050.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -Os -fno-tree-pta -lm
-fsanitize=address -o ./pr44050.exe
ld: library not found for -lasan
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
ld: library not found for -lasan
collect2: error: ld returned 1 exit status

FAIL: gcc.dg/torture/pr44050.c   -Os  (test for excess errors)
Excess errors:
ld: library not found for -lasan

UNRESOLVED: gcc.dg/torture/pr44050.c   -Os  compilation failed to produce
executable
testcase
/Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/torture/dg-torture.exp
completed in 0 seconds
------------------------------------------------------------------------

Can anyone confirm this bug?


Thanks,
Sabrina Souto.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]