为什op手机总是出现一些警告怎样才能解决

【未解决】cygwin下编译crosstool-ng期间在配置eglibc时出现警告:checking add-on ports for preconfigure fragments… aarch64 alpha am33 arm arm/preconfigure: Did not find ARM using default
期间,在Installing C library headers & start files期间,去配置eglibc,结果算是基本解决了:
configure: error: support for the tls_model attribute is required
的问题,但是看到有警告:
=================================================================
Installing C library headers & start files
Configuring C library
Using gcc for target
: '/home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/bin/arm-arm920t-linux-gnueabi-gcc'
Configuring with addons : 'nptl,ports'
Extra config args passed: '--enable-obsolete-rpc --enable-kernel=2.6.30 --with-__thread --with-tls --enable-shared --without-fp --enable-add-ons=nptl,ports --with-pkgversion=crosstool-NG 1.18.0'
Extra CC args passed
: ' -U_FORTIFY_SOURCE
-mlittle-endian -march=armv4t
-mtune=arm920t
-msoft-float -O -O2 '
Extra flags (multilib)
==& Executing: 'BUILD_CC=i686-build_pc-cygwin-gcc' 'CFLAGS= -U_FORTIFY_SOURCE
-mlittle-endian -march=armv4t
-mtune=arm920t
-msoft-float -O -O2 ' 'CC=arm-arm920t-linux-gnueabi-gcc
' 'AR=arm-arm920t-linux-gnueabi-ar' 'RANLIB=arm-arm920t-linux-gnueabi-ranlib' '/usr/bin/bash' '/home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/src/eglibc-2_17/configure' '--prefix=/usr' '--build=i686-build_pc-cygwin' '--host=arm-arm920t-linux-gnueabi' '--cache-file=/home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/build/build-libc-startfiles/config.cache' '--without-cvs' '--disable-profile' '--without-gd' '--with-headers=/home/develop/crosstool-ng/x-tools/arm-arm920t-linux-gnueabi/arm-arm920t-linux-gnueabi/sysroot/usr/include' '--enable-obsolete-rpc' '--enable-kernel=2.6.30' '--with-__thread' '--with-tls' '--enable-shared' '--without-fp' '--enable-add-ons=nptl,ports' '--with-pkgversion=crosstool-NG 1.18.0'
configure: loading cache /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/build/build-libc-startfiles/config.cache
checking build system type... i686-build_pc-cygwin
checking host system type... arm-arm920t-linux-gnueabi
checking for arm-arm920t-linux-gnueabi-gcc... arm-arm920t-linux-gnueabi-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-arm920t-linux-gnueabi-gcc
accepts -g... yes
checking for arm-arm920t-linux-gnueabi-gcc
option to accept ISO C89... unsupported
checking for gcc... i686-build_pc-cygwin-gcc
checking how to run the C preprocessor... arm-arm920t-linux-gnueabi-gcc
checking for arm-arm920t-linux-gnueabi-g++... no
checking for arm-arm920t-linux-gnueabi-c++... no
checking for arm-arm920t-linux-gnueabi-gpp... no
checking for arm-arm920t-linux-gnueabi-aCC... no
checking for arm-arm920t-linux-gnueabi-CC... no
checking for arm-arm920t-linux-gnueabi-cxx... no
checking for arm-arm920t-linux-gnueabi-cc++... no
checking for arm-arm920t-linux-gnueabi-cl.exe... no
checking for arm-arm920t-linux-gnueabi-FCC... no
checking for arm-arm920t-linux-gnueabi-KCC... no
checking for arm-arm920t-linux-gnueabi-RCC... no
checking for arm-arm920t-linux-gnueabi-xlC_r... no
checking for arm-arm920t-linux-gnueabi-xlC... no
checking for g++... g++
configure: WARNING: using cross tools not prefixed with host triplet
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for arm-arm920t-linux-gnueabi-readelf... arm-arm920t-linux-gnueabi-readelf
checking for sysdeps preconfigure fragments... x86_64
configure: running configure fragment for add-on nptl
checking add-on ports for preconfigure fragments... aarch64 alpha am33 arm arm/preconfigure: Did not find ARM using default
hppa ia64 m68k mips powerpc tile
checking for assembler and linker STT_GNU_IFUNC support... no
checking whether .text pseudo-op must be used... yes
checking sysdep dirs... ports/sysdeps/unix/sysv/linux/arm/nptl ports/sysdeps/unix/sysv/linux/arm nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv ports/sysdeps/unix/arm nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/arm/nptl ports/sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/tools/bin/install -c
checking whether ln -s works... yes
checking whether /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/lib/gcc/arm-arm920t-linux-gnueabi/4.3.2/../../../../arm-arm920t-linux-gnueabi/bin/as is GNU as... yes
checking whether /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/lib/gcc/arm-arm920t-linux-gnueabi/4.3.2/../../../../arm-arm920t-linux-gnueabi/bin/ld is GNU ld... yes
checking for /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/lib/gcc/arm-arm920t-linux-gnueabi/4.3.2/../../../../arm-arm920t-linux-gnueabi/bin/as... /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/lib/gcc/arm-arm920t-linux-gnueabi/4.3.2/../../../../arm-arm920t-linux-gnueabi/bin/as
checking version of /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/lib/gcc/arm-arm920t-linux-gnueabi/4.3.2/../../../../arm-arm920t-linux-gnueabi/bin/as... 2.20.1., ok
checking for /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/lib/gcc/arm-arm920t-linux-gnueabi/4.3.2/../../../../arm-arm920t-linux-gnueabi/bin/ld... /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/lib/gcc/arm-arm920t-linux-gnueabi/4.3.2/../../../../arm-arm920t-linux-gnueabi/bin/ld
checking version of /home/develop/crosstool-ng/crosstool-ng-1.18.0_build/.build/arm-arm920t-linux-gnueabi/buildtools/lib/gcc/arm-arm920t-linux-gnueabi/4.3.2/../../../../arm-arm920t-linux-gnueabi/bin/ld... 2.20.1., ok
checking for arm-arm920t-linux-gnueabi-gcc... (cached) arm-arm920t-linux-gnueabi-gcc
checking version of arm-arm920t-linux-gnueabi-gcc
... 4.3.2, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.18.1, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.13, ok
checking for sed... sed
checking version of sed... 4.2.1, ok
checking for gawk... gawk
checking version of gawk... 4.0.1, ok
checking for arm-arm920t-linux-gnueabi-nm... arm-arm920t-linux-gnueabi-nm
checking for autoconf... autoconf
checking whether autoconf works... yes
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... (cached) /bin/bash
checking for perl... /usr/bin/perl
checking for install-info... /usr/bin/install-info
checking for bison... /usr/bin/bison
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking for .set assembler directive... yes
checking for assembler gnu_unique_object symbol type... yes
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking whether to use .ctors/.dtors header and trailer... no
checking for libunwind-support in compiler... no
checking for linker that supports -z nodelete... yes
checking for linker that supports -z nodlopen... yes
checking for linker that supports -z initfirst... yes
configure: WARNING: missing architecture parameter to check for working -z relro
checking for -Bgroup option... yes
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for linker that supports -z execstack... yes
checking for -fpie... yes
checking for --hash-style option... yes
checking for sufficient default -shared layout... no
checking linker output format... unknown
checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -fstack-protector... yes
checking for -fgnu89-inline... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... no
checking for __builtin_memset... no
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for compiler option to disable generation of FMA instructions...
checking add-on ports for preconfigure fragments… aarch64 alpha am33 arm arm/preconfigure: Did not find ARM using default
【解决过程】
1.去搜了搜,看到:
diff --git a/ports/sysdeps/arm/preconfigure b/ports/sysdeps/arm/preconfigure
index 6d61b14..0042aaf 100644
--- a/ports/sysdeps/arm/preconfigure
+++ b/ports/sysdeps/arm/preconfigure
@@ -1,53 +1,58 @@
+# This file is generated from configure.in by Autoconf.
DO NOT EDIT!
+ # Local preconfigure fragment for sysdeps/arm
machine=arm
echo 2&&1 &arm/preconfigure: Did not find ARM using default&
x__ARM_ARCH_6T2__)
machine=armv6t2
{ $as_echo &$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine& &&5
+$as_echo &$as_me: Found compiler is configured for $machine& &&6;}
x__ARM_ARCH_6*__)
machine=armv6
{ $as_echo &$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine& &&5
+$as_echo &$as_me: Found compiler is configured for $machine& &&6;}
machine=arm
{ $as_echo &$as_me:${as_lineno-$LINENO}: WARNING: arm/preconfigure: Did not find ARM using default& &&5
+$as_echo &$as_me: WARNING: arm/preconfigure: Did not find ARM using default& &&2;}
machine=arm
AC_MSG_WARN([arm/preconfigure: Did not find ARM using default])
machine=arm/$machine
很明显,其中是对于libc-ports新加的配置内容。
2.然后注意到,此处应该是:
eglibc中的(用到的?)libc,其附属东西:
部分,出现这个问题的。
然后参考上面的patch,去找到了:
E:\dev_install_root\cygwin\home\develop\crosstool-ng\crosstool-ng-1.18.0_build\.build\src\eglibc-2_17\ports\sysdeps\arm\preconfigure
中,的确有这部分的配置内容:
case &$machine& in
base_machine=arm
case $config_os in
linux-gnueabi*)
# Lets ask the compiler which ARM family we've got
# Unfortunately it doesn't define any flags for implementations
# that you might pass to -mcpu or -mtune
# Note if you add patterns here you must ensure that
# an appropriate directory exists in sysdeps/arm
archcppflag=`echo && |
$CC $CFLAGS $CPPFLAGS -E -dM - |
grep __ARM_ARCH |
sed -e 's/^#define //' -e 's/ .*//'`
case x$archcppflag in
x__ARM_ARCH_[89]*__)
machine=armv7
echo &Found compiler is configured for something newer than v7 - using v7&
x__ARM_ARCH_7A__)
machine=armv7
echo &Found compiler is configured for $machine&
x__ARM_ARCH_6T2__)
machine=armv6t2
echo &Found compiler is configured for $machine&
machine=arm
echo 2&&1 &arm/preconfigure: Did not find ARM using default&
machine=arm/$machine
if [ &${CFLAGS+set}& != &set& ]; then
CFLAGS=&-g -O2&
CFLAGS=&$CFLAGS -fno-unwind-tables&
echo &Old ABI no longer supported& 2&&1
但是,还是不知道如何避免此问题。
不知道,想要添加armv4的话,如何添加。
还是要换用别的,更新的那个版本的eglibc?
还是换用别的版本的libc?
2.对于此问题,去搜,结果竟然发现,自己的帖子:
中,就已经出现了此警告:
[CFG  ]    checking add-on ports for preconfigure fragments... aarch64 alpha am33 arm cc1: warning: switch -mcpu=arm9tdmi conflicts with -march= switch
[CFG  ]    arm/preconfigure: Did not find ARM using default
之前mcpu和march冲突,就已经出现此问题
但是上述帖子中,没解决掉此问题。
此处还是出现了此警告,但是却是由于内部配置文件中本身就不支持armv4t(只支持armv7,armv6t2)
结果还是无法解决此问题。
3.看到该贴的回复:
The usual way to do this sort of thing is by using --with-cpu at configure
虽然没完全看懂,但是觉得说的有理,应该是通过配置得到的,而不是此处弄个preconfigure去搞得armv4t都不支持。。
算了,还是没找到解决办法,暂且还是凑合用吧。
继续去编译。
2015年四月
13141516171819
20212223242526
免费的格式化Javascript源码的网站
查询Unicode字符,且还带Oct,Decimal,Hex,HTML Entity
HTML和Javascript都支持,很好用。新闻视频_最新新闻事件报道_最新新闻视频在线观看_新浪视频
Ctrl+D将本页面保存为书签,全面了解最新资讯,方便快捷。
您也可下载桌面快捷方式。
北京时间11日上午,第七届美洲国家首脑会议在巴拿马首都巴拿马城开幕。这是美洲峰会21年来具有重要历史意义一场会议,古巴首次参加该会议,同时也是美古去年底解冻关系以来,奥巴马与劳尔-卡斯特罗的首次见面,两人在潘基文陪伴下握手,随后预计还会在峰会间隙举行双边会谈。白宫此前证实,奥巴马和劳尔?卡斯特罗进行了电话交谈。罗兹称,两位领导人回顾了为全面恢复美古关系所作出的努力,但是两人仍存在分歧。这是50多年来美国与古巴两国领导人第二次已知的会谈。第一次是去年12月,奥巴马与卡斯特罗宣布计划恢复两国外交关系的前夕。目前两国恢复外交关系的谈判仍在持续进行。新浪资讯台,为您报道。
近日,一段“深圳大鹏交警打人”的视频在网络=流传,视频显示,一名身穿交警制服的男子将一车主压在地上,用膝盖顶其背部并向其怒吼,要求男子认错道歉,被制服男子的小孩则在一旁大叫“爸爸”并嚎啕大哭。事件引发交警是否涉嫌暴力执法的激烈争议。据悉,时间发生在4月5号的清明假期,视频中出现的交警隶属深圳市公安局交警支队大鹏大队,在疏导交通过程中,一名车主不服管制,和交警发生冲突,之后还口出恶言。视频在网上引发热议后,深圳市公安局交警支队督查科已针对此事展开调查。新浪资讯台,为您报道。
近日,我国海军进行了一次直9、直10海上联合攻击演练。我军武装直升机在海上使用导弹、火箭弹、航炮等多个弹种对靶标进行精准射击。
近日,美国宇航局公布了一段国际空间站宇航员太空行走的画面。一名宇航员携带摄像机走出空间站外进行一些检查修理工作,与此同时,他也拍下了从茫茫宇宙中俯瞰湛蓝色地球的美丽画面。据悉,此次空间站外作业是为了准备迎来国际空间站中的首次商业太空航行。
美国一名母亲因为描写自己5岁的儿子与病魔斗争的过程而在网上走红,但是为了博取关注,她竟然给儿子喂盐,致使其病情加剧,4天后便离开了人世。
近日,在一部名为《神枪》的抗战剧中,主人公可以凭借手腕的抖动射出会拐弯的子弹,某军官角色还煞有介事的为其起了个名字,叫“枪斗术”。
29岁云南小伙一年前与62岁老太相恋,本想谈婚论嫁但是老太却不告而别,小伙一路从云南追到湘潭,想要找回女友。
去年8月7日,一女子进入电梯后被一名白衣男子扑倒,随后对女子进行猥亵,电梯门打开后,男子立刻逃走。据悉,该男子工作稳定并且已经结婚。
近日,在山东德州,一名醉酒的聋哑男子对自己的父亲耍起了酒疯,两人抡铁锹互相猛揍。深夜里,忍无可忍的父亲挥刀砍断了儿子的气管,险些将其砍死。
4月6日,派出所接到指挥所指令,称有人喝醉了酒。值班民警立即赶赴报警地点,发现改名男子是一名杀人逃犯。
1月23日,在广州天河区黄埔大道一户出租屋内,发生了一起命案,一名20来岁的地产女中介,在带人看房的时候,被杀死在屋内。到底是什么人如此丧心病狂,而行凶的目的又是什么呢?
北京时间1月24日,克雷-汤普森让这一天变成NBA历史上一个值得纪念的日子。在他效力的勇士与国王的比赛中,汤普森在第三节单节13投13中砍下37分,其中三分球9投全中,刷新了NBA历史纪录。此前的单节得分纪录是卡梅罗-安东尼(2008年)与乔治-格文(1978年)共同保持的33分。  汤普森在不到33分钟的出场时间内25投16中,三分球15投11中,罚球10罚9中,一共得到52分,创下个人单场得分纪录,帮助勇士126-101大胜国王。  以上是相关视频。
实拍江西高安“古惑仔”街头火拼,持大刀猛砍。
24日晚极端组织“伊斯兰国”相关网站上传了一张照片,被绑架的日本人质后藤健二手持另一名人质汤川遥菜被杀害的照片出现在镜头中。日本政府表示正在确认其真实性。
近日,在广西有一名穿着睡衣的醉酒女子,在马路上被交警拦下后,大吵大闹和交警厮打在一起,还叫嚣着拿我酒瓶来。
网上曝出一段有关陈赫道歉的语音,语音中陈赫哽咽说道:“很抱歉我让你们失望了,我真的对不起。”
下面要讲的也是一个和假币有关的事儿,要说仿真程度,这张假币还真是不敢让人恭维,不仅制作粗糙,而且和真钱的图案也不一样。可问题是,这张钱竟然堂而皇之地找零找给了哈尔滨的张博手里。
北京时间1月25日,开拓者主场迎战奇才,最终奇才96-103开拓者。奇才方面:约翰-沃尔得了25分9次助攻,保罗-皮尔斯19分6个篮板,布拉德利-比尔16分、5个篮板和5次助攻,内内-希拉里奥15分。开拓者方面:拉马库斯-阿尔德里奇带伤复出,得了26分9个篮板,达米安-利拉德20分7次助攻,韦斯利-马修斯19分,克里斯-卡曼6分10个篮板。以上为相关视频。
微软在美国旧金山举行发布会,正式发布了Windows 10消费者预览版。Win 10系统将统一PC、手机、Xbox等多个平台,并对开始菜单、操作中心做出多项改变。
北京时间1月25日,西甲第20轮激战继续,巴塞罗那客场挑战埃尔切。比赛第55分钟,巴萨反击,内马尔接球1V2强行突破造点球,梅西上罚球线轻松破门。  以上为视频全内容。404 Not Found
404 Not Found
nginx/1.4.4请教关于keil的警告问题,程序没有什么问题,为什么总是出现这样的警告,请大神多多指教要怎样解决。谢啦_百度知道
请教关于keil的警告问题,程序没有什么问题,为什么总是出现这样的警告,请大神多多指教要怎样解决。谢啦
hiphotos://a.baidu.baidu.jpg" esrc="http./zhidao/wh%3D600%2C800/sign=d28ecafe908fa0ec7f926c0b16a775d6/d043ad4bdcbfbfaed049f.jpg" target="_blank" title="点击查看大图" class="ikqb_img_alink"><img class="ikqb_img" src="/zhidao/pic/item/d043ad4bdcbfbfaed049f://a://a/linkUNRESOLVED EXTERNAL SYMBOL 说明连接的时候没有找到外部变量第一个警告是 startup
提问者评价
其他类似问题
按默认排序
其他3条回答
可能是这个标示未曾使用导致的,从汇编代码进入C代码区的标签?C_START标志是这个
中文文件名或者路径,请修改为英文
把你的安装目录和用户名改成英文即可
keil的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁汇集一亿人的生活趣味
iOS / Android 扫码直接下载
时间:3月24日 - 5月23日
1222人参加
时间:3月6日 - 5月5日
时间:2月26日 - 4月27日
1407人参加
时间:4月3日 - 6月2日
时间:3月27日 - 4月28日
1751人参加
&&&&&&&&&&&&
?Miya小狮子的日记
[关于男人女人之间那点事,揭穿男人真面目]
一、训男之术在于“忍”,你不但要能够忍...
&&&&&&&&&&&&
&&&&&&&&&&&&
&&&&&&&&&&&&
279183 个成员
10335 个成员
163768 个成员
15003 个成员
3471 个成员
7218 个成员
13894 个成员
20786 个成员
9722 个成员
1276 个成员
1329 个成员
1642 个成员
&&&&&&&&&&&&
〔美〕诺拉·艾...
〔美〕斯图尔特...
原创数字作品
&&&&&&&&&&&&
流派: 民谣 Folk
141333人关注
流派: 民谣 Folk
15589人关注
流派: 民谣 Folk
27409人关注
流派: 流行 Pop
85856人关注
流派: 民谣 Folk
38301人关注
豆瓣新碟榜
&&&&&&&&&&&&
&&&&&&&&&&&&
我的红心兆赫(你不许听!)
没有唱词的旋律
电影原声《Once》(曾经)
上次发日志(大概是在公元前)。
那时候,我还是个勤劳善良的美少女。我拍(zuo)着(s...
想成为一个资深收纳达人,把东西收整齐只是初级阶段,把东西收整齐的同时,把它变成家居...
也不知为何,去年四月起忽然兴趣大发,开始对化妆和服饰搭配重视起来。从完全不...
生日,圣诞,新年。总是感觉一到年底就有各种各样的节日需要送礼物。每次到送礼物这一环...
&&&&&&&&&&&&
“拜拜~我要穿着这个去跟奇葩老板开会惹ψ(`...”
“真o苹果表”
南昌 · 本周热门活动
&&&&&&&&&&&&
外租场地:南昌市上海路699...
南昌市上海路699文化创意园...
红谷滩新区丰和中大道2号理...
红谷滩区丰和中大道2号理想...
& 2005-, all rights reserved
京ICP备号 网络视听许可证号
文网文[1号
京公网安备&&新出网证(京)字129号
违法和不良信息举报电话:&
举报电话:12377 举报邮箱:

我要回帖

更多关于 op是什么 的文章

 

随机推荐