public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: mkl@pengutronix.de
To: gdb-gnats@sources.redhat.com
Cc: rsc@pengutronix.de
Subject: build/2176: CPPFLAGS and are not saved in Makefile
Date: Mon, 25 Sep 2006 10:18:00 -0000	[thread overview]
Message-ID: <20060925101256.24749.qmail@sourceware.org> (raw)


>Number:         2176
>Category:       build
>Synopsis:       CPPFLAGS and are not saved in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 25 10:18:01 UTC 2006
>Closed-Date:
>Last-Modified:
>Originator:     mkl@pengutronix.de
>Release:        GNU gdb 6.5.50.20060925
>Organization:
>Environment:
cross compiling from x86 -> arm
>Description:
The initial configure run doesn't save the CPPFLAGS in the Makefile. Thus the configures run later by "make" doesn't know anything about the FLAGS at configure time. Several libs are not found...:

checking for arm-softfloat-linux-gnu-dlltool... arm-softfloat-linux-gnu-dlltool
checking for arm-softfloat-linux-gnu-windres... arm-softfloat-linux-gnu-windres
checking for arm-softfloat-linux-gnu-mig... no
checking for mig... no
checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing waddstr... no
checking for library containing tgetent... no
configure: error: no termcap library found
make[2]: *** [configure-gdb] Error 1
>How-To-Repeat:

>Fix:
the attated patch fixes this (together with build/2175)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-patch; name="Makefile_in_cppflags.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Makefile_in_cppflags.diff"

IwojIFN1Ym1pdHRlZC1CeTogTWFyYyBLbGVpbmUtQnVkZGUsIDIwMDYtMDMtMjAKIyBDb21taXR0
ZWQtQnk6IE1hcmMgS2xlaW5lLUJ1ZGRlCiMKIyBFcnJvcjoKIwojIGNoZWNraW5nIGZvciBhcm0t
c29mdGZsb2F0LWxpbnV4LWdud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CBIT1NUX0VYUE9SVFMgPSBcCiAJQ0M9
IiQoQ0MpIjsgZXhwb3J0IENDOyBcCiAJQ0ZMQUdTPSIkKENGTEFHUykiOyBleHBvcnQgQ0ZMQUdT
OyBcCiAJQ09ORklHX1NIRUxMPSIkKFNIRUxMKSI7IGV4cG9ydCBDT05GSUdfU0hFTEw7IFwKKwlD
UFBGTEFHUz0iJChDUFBGTEFHUykiOyBleHBvcnQgQ1BQRkxBR1M7IFwKIAlDWFg9IiQoQ1hYKSI7
IGV4cG9ydCBDWFg7IFwKIAlDWFhGTEFHUz0iJChDWFhGTEFHUykiOyBleHBvcnQgQ1hYRkxBR1M7
IFwKIAlBUj0iJChBUikiOyBleHBvcnQgQVI7IFwKQEAgLTI4OCw2ICsyODksNyBAQCBXSU5EUkVT
ID0gQFdJTkRSRVNACiBDRkxBR1MgPSBAQ0ZMQUdTQAogTERGTEFHUyA9IAogTElCQ0ZMQUdTID0g
JChDRkxBR1MpCitDUFBGTEFHUyA9IEBDUFBGTEFHU0AKIENYWEZMQUdTID0gQENYWEZMQUdTQAog
TElCQ1hYRkxBR1MgPSAkKENYWEZMQUdTKSAtZm5vLWltcGxpY2l0LXRlbXBsYXRlcwogUElDRkxB
RyA9IAo=


             reply	other threads:[~2006-09-25 10:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25 10:18 mkl [this message]
2008-10-28 13:11 drow
2008-11-14 15:36 drow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060925101256.24749.qmail@sourceware.org \
    --to=mkl@pengutronix.de \
    --cc=gdb-gnats@sources.redhat.com \
    --cc=rsc@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).