Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Issue 75 in xar: src/Makefile.inc.in needs .SECONDARY: line
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
codesite-nore...@google.com  
View profile  
 More options Aug 12 2010, 12:02 pm
From: codesite-nore...@google.com
Date: Thu, 12 Aug 2010 16:02:05 +0000
Local: Thurs, Aug 12 2010 12:02 pm
Subject: Issue 75 in xar: src/Makefile.inc.in needs .SECONDARY: line
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 75 by mack...@gmail.com: src/Makefile.inc.in needs .SECONDARY:  
line
http://code.google.com/p/xar/issues/detail?id=75

What steps will reproduce the problem?

1. autogen.sh, configure & build (should build with -g option)
2. notice the xar.o file was automatically removed as an intermediary  
during the build
3. start gdb on the xar executable that was just built (this is on Mac OS X)
4. gdb complains about missing debugging info

What is the expected output? What do you see instead?

5. Should be able to debug if it was built with -g

What version of the product are you using? On what operating system?

6. Using trunk@232 built on Mac OS X 10.5.8 (and running gdb on there too)

Please provide any additional information below.

7. make normally removes intermediary files during the build.  The way the  
rules are set up in src/Makefile.inc.in results in xar.o being considered  
an intermediary file and so it's normally deleted by make.  On Mac OS X  
(and possibly others) the needed debug information is stored in the .o and  
so debugging fails.

8. The following patch (also attached) to src/Makefile.inc.in corrects the  
problem by telling make to retain the intermediary .o file:

Index: Makefile.inc.in
===================================================================
--- Makefile.inc.in     (revision 232)
+++ Makefile.inc.in     (working copy)
@@ -1,3 +1,5 @@
+.SECONDARY :
+
  #
  # Include generated dependency files.
  #

9. After the above patch, builds leave the intermediary file xar.o alone  
and debugging succeeds.

Attachments:
        Makefile.inc.in-patch.txt  238 bytes


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »