public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sabrinadfs at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/62088] New: [GCC-4.10.1] Compilation failed to produce executable: torture with -fsanitize=address
Date: Mon, 11 Aug 2014 12:55:00 -0000	[thread overview]
Message-ID: <bug-62088-4@http.gcc.gnu.org/bugzilla/> (raw)

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.


             reply	other threads:[~2014-08-11 12:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-11 12:55 sabrinadfs at gmail dot com [this message]
2014-08-13  6:45 ` [Bug sanitizer/62088] [GCC-4.10.0] " mpolacek at gcc dot gnu.org
2021-07-18 21:36 ` [Bug sanitizer/62088] [GCC-5] " pinskia at gcc dot gnu.org
2021-07-18 21:37 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-62088-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).