* [crosstool-ng/crosstool-ng] 755de2: elf2flt: use CT_ARCH to set target CPU, not CT_TAR...
@ 2017-02-09 7:19 Alexey Neyman
0 siblings, 0 replies; only message in thread
From: Alexey Neyman @ 2017-02-09 7:19 UTC (permalink / raw)
To: crossgcc
[-- Attachment #1: Type: text/plain, Size: 2249 bytes --]
Branch: refs/heads/master
Home: https://github.com/crosstool-ng/crosstool-ng
Commit: 755de234cb50aa786e7e6821e14d611775650cb6
https://github.com/crosstool-ng/crosstool-ng/commit/755de234cb50aa786e7e6821e14d611775650cb6
Author: Carlos Santos <casantos@datacom.ind.br>
Date: 2017-02-06 (Mon, 06 Feb 2017)
Changed paths:
M scripts/build/binutils/binutils.sh
Log Message:
-----------
elf2flt: use CT_ARCH to set target CPU, not CT_TARGET
CT_TARGET is composed as "${CT_ARCH}${CT_ARCH_SUFFIX}", so CT_TARGET may
become something like "armv7", for example. This is used by the configure
script to set the "CPU" variable in the Makefile, leading to a commad line
containing
-DTARGET_armv7 -DTARGET_CPU="armv7"
In this case the compilation of elf2flt.c fails with "Don't know how to
support your CPU architecture??". Passsing "CPU=${CT_ARCH}" in the make
command line overrides the configured value and solves the problem.
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Commit: 308c6b9a145cbfbd3e9a4b09aef5935572cce6ab
https://github.com/crosstool-ng/crosstool-ng/commit/308c6b9a145cbfbd3e9a4b09aef5935572cce6ab
Author: Alexey Neyman <stilor@att.net>
Date: 2017-02-07 (Tue, 07 Feb 2017)
Changed paths:
A samples/armv6-nommu-linux-uclibcgnueabi/crosstool.config
A samples/armv6-nommu-linux-uclibcgnueabi/reported.by
Log Message:
-----------
Add a contrived ARM with elf2flt sample
... that exhibited the issue with elf2flt configuration. Original reported
did not provide the config, and did not respond.
Signed-off-by: Alexey Neyman <stilor@att.net>
Commit: df555a65dbea7aedcef462590230da639fb6a421
https://github.com/crosstool-ng/crosstool-ng/commit/df555a65dbea7aedcef462590230da639fb6a421
Author: Alexey Neyman <stilor@att.net>
Date: 2017-02-08 (Wed, 08 Feb 2017)
Changed paths:
A samples/armv6-nommu-linux-uclibcgnueabi/crosstool.config
A samples/armv6-nommu-linux-uclibcgnueabi/reported.by
M scripts/build/binutils/binutils.sh
Log Message:
-----------
Merge pull request #580 from stilor/arm-elf2flt
ARM with arch suffix - elf2flt fix
Compare: https://github.com/crosstool-ng/crosstool-ng/compare/18775775e53f...df555a65dbea
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-09 7:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 7:19 [crosstool-ng/crosstool-ng] 755de2: elf2flt: use CT_ARCH to set target CPU, not CT_TAR Alexey Neyman
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).