public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/18762] New: ${LDFLAGS} irgnored when linking sim/arm
@ 2015-08-03 10:43 dilyan.palauzov at aegee dot org
  2015-08-05  3:15 ` [Bug sim/18762] ${LDFLAGS} ignored when linking sim's run binary vapier at gentoo dot org
  0 siblings, 1 reply; 2+ messages in thread
From: dilyan.palauzov at aegee dot org @ 2015-08-03 10:43 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18762

            Bug ID: 18762
           Summary: ${LDFLAGS} irgnored when linking sim/arm
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sim
          Assignee: unassigned at sourceware dot org
          Reporter: dilyan.palauzov at aegee dot org
                CC: vapier at gentoo dot org
  Target Milestone: ---

When building within sim/, common/Make-common.in has the recipe:

run$(EXEEXT): $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
        $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o run$(EXEEXT) \
          $(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)

However ${LDFLAGS} is not always substituted from ./configure.  E.g. when
building the ARMurator, LDFLAGS is empty, despite being set for the other
components (e.g. gold).  In turn, linking run ignores ${LDFLAGS}.

Adding

LDFLAGS = @LDFLAGS@

in common/Make-common.in shall solve the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug sim/18762] ${LDFLAGS} ignored when linking sim's run binary
  2015-08-03 10:43 [Bug sim/18762] New: ${LDFLAGS} irgnored when linking sim/arm dilyan.palauzov at aegee dot org
@ 2015-08-05  3:15 ` vapier at gentoo dot org
  0 siblings, 0 replies; 2+ messages in thread
From: vapier at gentoo dot org @ 2015-08-05  3:15 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18762

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |vapier at gentoo dot org
            Summary|${LDFLAGS} irgnored when    |${LDFLAGS} ignored when
                   |linking sim/arm             |linking sim's run binary

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2015-08-05  3:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 10:43 [Bug sim/18762] New: ${LDFLAGS} irgnored when linking sim/arm dilyan.palauzov at aegee dot org
2015-08-05  3:15 ` [Bug sim/18762] ${LDFLAGS} ignored when linking sim's run binary vapier at gentoo dot 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).