Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 949] New: compile with debug info
@ 2010-01-23 10:21 bugzilla at busybox.net
  2010-02-21 18:51 ` [Buildroot] [Bug 949] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2010-01-23 10:21 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=949

           Summary: compile with debug info
           Product: buildroot
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: yasser_kashfi at yahoo.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


if user dos not select 'build with debug info' the default compile flag is set
to -g. however this is wrong. in this case compile flag (cflags & cxxflags)
must be set to -g0. I solved this problem by patch the fallowing file:
package/Makefile.in:
+ifneq ($(BR2_ENABLE_DEBUG),y)
+TARGET_DEBUGGING=-g0
+endif
ifeq ($(BR2_DEBUG_1),y)
TARGET_DEBUGGING=-g1
endif
...

best regards


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 949] compile with debug info
  2010-01-23 10:21 [Buildroot] [Bug 949] New: compile with debug info bugzilla at busybox.net
@ 2010-02-21 18:51 ` bugzilla at busybox.net
  2010-04-09 14:54 ` bugzilla at busybox.net
  2010-07-18 21:30 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2010-02-21 18:51 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=949


Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2010.02




-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 949] compile with debug info
  2010-01-23 10:21 [Buildroot] [Bug 949] New: compile with debug info bugzilla at busybox.net
  2010-02-21 18:51 ` [Buildroot] [Bug 949] " bugzilla at busybox.net
@ 2010-04-09 14:54 ` bugzilla at busybox.net
  2010-07-18 21:30 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2010-04-09 14:54 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=949


Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2010.02                     |2010.05




-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 949] compile with debug info
  2010-01-23 10:21 [Buildroot] [Bug 949] New: compile with debug info bugzilla at busybox.net
  2010-02-21 18:51 ` [Buildroot] [Bug 949] " bugzilla at busybox.net
  2010-04-09 14:54 ` bugzilla at busybox.net
@ 2010-07-18 21:30 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2010-07-18 21:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=949

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
I'm sorry but here, I don't see any -g option being added when "build with
debug info" is disabled.

I'm therefore marking the bug as "works for me", but if you have a specific
example illustrating the problem, do not hesitate to reopen the bug and to
provide more details.

Thanks!

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23 10:21 [Buildroot] [Bug 949] New: compile with debug info bugzilla at busybox.net
2010-02-21 18:51 ` [Buildroot] [Bug 949] " bugzilla at busybox.net
2010-04-09 14:54 ` bugzilla at busybox.net
2010-07-18 21:30 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox