public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/62088] New: [GCC-4.10.1] Compilation failed to produce executable: torture with -fsanitize=address
@ 2014-08-11 12:55 sabrinadfs at gmail dot com
  2014-08-13  6:45 ` [Bug sanitizer/62088] [GCC-4.10.0] " mpolacek at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sabrinadfs at gmail dot com @ 2014-08-11 12:55 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/62088] [GCC-4.10.0] Compilation failed to produce executable: torture with -fsanitize=address
  2014-08-11 12:55 [Bug c/62088] New: [GCC-4.10.1] Compilation failed to produce executable: torture with -fsanitize=address sabrinadfs at gmail dot com
@ 2014-08-13  6:45 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-08-13  6:45 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dodji at gcc dot gnu.org,
                   |                            |dvyukov at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |kcc at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org
          Component|c                           |sanitizer

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Can't confirm that, but given
ld: library not found for -lasan
you should check whether the libasan is where it should be.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/62088] [GCC-5] Compilation failed to produce executable: torture with -fsanitize=address
  2014-08-11 12:55 [Bug c/62088] New: [GCC-4.10.1] Compilation failed to produce executable: torture with -fsanitize=address sabrinadfs at gmail dot com
  2014-08-13  6:45 ` [Bug sanitizer/62088] [GCC-4.10.0] " mpolacek at gcc dot gnu.org
@ 2021-07-18 21:36 ` pinskia at gcc dot gnu.org
  2021-07-18 21:37 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-18 21:36 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|WAITING                     |RESOLVED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes without doing an install, only the asan/ubsan/tsan/hwasn testsuites are
setup to handle non-installed support of running with -fsanitize= .

I really doubt we want to move that logic to the normal part of the gcc
testsuite either.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/62088] [GCC-5] Compilation failed to produce executable: torture with -fsanitize=address
  2014-08-11 12:55 [Bug c/62088] New: [GCC-4.10.1] Compilation failed to produce executable: torture with -fsanitize=address sabrinadfs at gmail dot com
  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
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-18 21:37 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |WONTFIX

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Won't fix is more correct here rather than invalid.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-18 21:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-11 12:55 [Bug c/62088] New: [GCC-4.10.1] Compilation failed to produce executable: torture with -fsanitize=address sabrinadfs at gmail dot com
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

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).