This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: conflicts with -march= switch


On 04/21/10 21:19, ng@piments.com wrote:
Hi again.

using 1.6.0 I get some odd messages about "-march= switch"


[WARN ] /back/ts/ct-ng/targets/src/gcc-4.3.4/gcc/gcc.c:2990: warning: format not a string literal and no format arguments [WARN ] Saving state to restart at step 'libc_headers'... [WARN ] configure: WARNING: you should use --build, --host, --target [WARN ] configure: WARNING: In the future, Autoconf will not detect cross-tools [WARN ] *** WARNING: Are you sure you do not want to use the `nptl' [WARN ] Saving state to restart at step 'libc_start_files'... [WARN ] Removing "-pipe" for use with glibc>=2.6 [WARN ] configure: WARNING: In the future, Autoconf will not detect cross-tools [WARN ] checking whether ranlib is necessary... conftest.c:1: warning: switch -mcpu=ep9312 conflicts with -march= switch

It's only a warning but if there is a conflict it needs to be resolved:
which value is taking precendence in this "conflict"?

I did not set switch so I'm not clear where this came from . why is
there a problem specifying a the cpu when using ct-ng?

thanks.

--
For unsubscribe information see http://sourceware.org/lists.html#faq



Hmm. I've just realised what this error is saying. I should read:


warning: switch -mcpu=ep9312 conflicts with switch -march=

ie that -march=NULL

however from the build.log:

[DEBUG]    CT_ARCH_ARCH="armv4t"
[DEBUG]    CT_ARCH_CPU="ep9312

So why is ct-ng apparently not passing my ARCH to configure ?

TIA.

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]