public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4725] New: Linking of funit-scopes.c fails with --coverage -O0 is specified
@ 2007-07-02 21:08 kris dot van dot hees at oracle dot com
  2007-07-03 18:04 ` [Bug general/4725] " kris dot van dot hees at oracle dot com
  2007-07-03 18:05 ` kris dot van dot hees at oracle dot com
  0 siblings, 2 replies; 3+ messages in thread
From: kris dot van dot hees at oracle dot com @ 2007-07-02 21:08 UTC (permalink / raw)
  To: frysk-bugzilla

When building frysk without --enable-coverage (compilation and link options
include -g -O), funit-scopes.c compiles and links correctly.

When building frysk with --enable-coverage (compilation and link options include
-g --coverage --O0), funit-scopes.c compiles correctly, but fails to link with
the following error:

gcc
-I/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core/../frysk-imports/include
-I/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core -I. -fPIC
-fasynchronous-unwind-tables  -g  --coverage -O0 -Wall -Werror   -o
frysk/pkglibdir/funit-scopes  frysk/pkglibdir/funit-scopes.o  
frysk/pkglibdir/funit-scopes.o: In function `first':
/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core/frysk/pkglibdir/funit-scopes.c:13:
undefined reference to `second'
collect2: ld returned 1 exit status
make[2]: *** [frysk/pkglibdir/funit-scopes] Error 1

This is happening on FC6, both on i386 and x86_64.
Gcc version is gcc version 4.1.1 20070105 (Red Hat 4.1.1-51).

The only change between a previous successful build of frysk and the current
failures (as far as this file is concerned) is the actual content of the source
code file (same GCC versions etc).

Investigating this problem a bit further, but it seems to be a bug in gcc.

-- 
           Summary: Linking of funit-scopes.c fails with --coverage -O0 is
                    specified
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: kris dot van dot hees at oracle dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4725

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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

* [Bug general/4725] Linking of funit-scopes.c fails with --coverage -O0 is specified
  2007-07-02 21:08 [Bug general/4725] New: Linking of funit-scopes.c fails with --coverage -O0 is specified kris dot van dot hees at oracle dot com
@ 2007-07-03 18:04 ` kris dot van dot hees at oracle dot com
  2007-07-03 18:05 ` kris dot van dot hees at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: kris dot van dot hees at oracle dot com @ 2007-07-03 18:04 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From kris dot van dot hees at oracle dot com  2007-07-03 18:03 -------
Working on a workaround for the time being...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=4725

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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

* [Bug general/4725] Linking of funit-scopes.c fails with --coverage -O0 is specified
  2007-07-02 21:08 [Bug general/4725] New: Linking of funit-scopes.c fails with --coverage -O0 is specified kris dot van dot hees at oracle dot com
  2007-07-03 18:04 ` [Bug general/4725] " kris dot van dot hees at oracle dot com
@ 2007-07-03 18:05 ` kris dot van dot hees at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: kris dot van dot hees at oracle dot com @ 2007-07-03 18:05 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|kris dot van dot hees at
                   |dot org                     |oracle dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4725

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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

end of thread, other threads:[~2007-07-03 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-02 21:08 [Bug general/4725] New: Linking of funit-scopes.c fails with --coverage -O0 is specified kris dot van dot hees at oracle dot com
2007-07-03 18:04 ` [Bug general/4725] " kris dot van dot hees at oracle dot com
2007-07-03 18:05 ` kris dot van dot hees at oracle dot com

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