ubuntu usr local lib里的/usr/lib/x86_64-linux-gnu这个文件夹是做什么的

Linux cpu占用率居高不下 调试_Linux教程_Linux公社-Linux系统门户网站
你好,游客
Linux cpu占用率居高不下 调试
来源:Linux社区&
作者:shenlinken
今天调试程序,使用top命令后,发现程序的cpu占用率很高,一直在99,这很可怕,所以来调试。
使用top命令,得如下结果
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1997 root 20 0 358m 71m 3208 S 99.1 7.2 81:53.50 test1 root 20 0
1176 S 0.0 0.2 0:01.36 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:46.51 ksoftirqd/0 4 root 20 0 0 0 0 S 0.0 0.0 0:38.53 kworker/0:0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
可知test的PID为1997
然后具体查看test里线程的cpu使用情况
使用 top -H -p 1997 命令
root@linuxidc:~# top -H -p 1997
top - 17:19:47 up 15 days, 34 min, 4 users, load average: 1.02, 1.06, 1.06Tasks: 8 total, 1 running, 7 sleeping, 0 stopped, 0 zombieCpu(s): 99.3%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.3%stMem: 1017924k total, 887500k used, 130424k free, 85928k buffersSwap: 0k total, 0k used, 0k free, 351280k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2005 root 20 0 358m 71m 3208 R 99.3 7.2 83:44.47 test 2001 root 20 0 358m 71m 3208 S 0.3 7.2 0:08.66 test&2004 root 20 0 358m 71m 3208 S 0.3 7.2 0:19.61 test&1997 root 20 0 358m 71m 3208 S 0.0 7.2 0:26.24 test&1999 root 20 0 358m 71m 3208 S 0.0 7.2 0:00.06 test&2000 root 20 0 358m 71m 3208 S 0.0 7.2 0:00.00&test2002 root 20 0 358m 71m 3208 S 0.0 7.2 0:05.86 Server Listen(2 2003 root 20 0 358m 71m 3208 S 0.0 7.2 0:00.00 Server Accept(2
可得线程中CPU占有率最高的线程的PID是2005
使用gdb icdn 2005 命令
root@linuxidc:~# gdb icdn 2005GNU gdb (/Linaro 7.4-ubuntu2.1) 7.4-2012.04Copyright (C) 2012 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later &http://gnu.org/licenses/gpl.html&This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law. Type "show copying"and "show warranty" for details.This GDB was configured as "x86_64-linux-gnu".For bug reporting instructions, please see:&http://bugs.launchpad.net/gdb-linaro/&...icdn: No such file or directory.Attaching to process 2005
warning: process 2005 is a cloned processReading symbols from /home/linuxidc/test/snmptrapd...done.Reading symbols from /usr/lib/libnetsnmp.so.30...done.Loaded symbols for /usr/lib/libnetsnmp.so.30Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...(no debugging symbols found)...done.[Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0Reading symbols from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18...(no debugging symbols found)...done.Loaded symbols for /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18Reading symbols from /usr/local/lib/libstd.so...(no debugging symbols found)...done.Loaded symbols for /usr/local/lib/libstd.soReading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols found)...done.Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...(no debugging symbols found)...done.Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no debugging symbols found)...done.Loaded symbols for /lib/x86_64-linux-gnu/libcrypto.so.1.0.0Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.Loaded symbols for /lib64/ld-linux-x86-64.so.2Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols found)...done.Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols found)...done.Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6Reading symbols from /usr/local/lib/libudt.so...(no debugging symbols found)...done.Loaded symbols for /usr/local/lib/libudt.soReading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no debugging symbols found)...done.Loaded symbols for /usr/lib/x86_64-linux-gnu/libstdc++.so.6Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...(no debugging symbols found)...done.Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2execute_search () at test.c:310
从最后一行可知,线程2005运行的是execute_search这个函数,然后查看该函数,发现有这样一段
while(g_search_state == 1) {   tmp = g_data_list-&phead-&   if (tmp)   {     pthread_mutex_lock(&g_mysql_mutex);     res.result = search_mysql(tmp-&sn, &(res.machine));     pthread_mutex_unlock(&g_mysql_mutex);     snprintf(res.sn, sizeof(res.sn), "%s", tmp-&sn);   } }
由于tmp长期为NULL,所以这变成了一个while的死循环,而死循环极为占用内存,于是再下面加上usleep(50000),问题解决。
本文永久更新链接地址:
相关资讯 & & &
   同意评论声明
   发表
尊重网上道德,遵守中华人民共和国的各项有关法律法规
承担一切因您的行为而直接或间接导致的民事或刑事法律责任
本站管理人员有权保留或删除其管辖留言中的任意内容
本站有权在网站内转载或引用您的评论
参与本评论即表明您已经阅读并接受上述条款Install Oracle 11g on Ubuntu 14.04 - Ask Ubuntu
Ask Ubuntu is a question and answer site for Ubuntu users and developers. J it only takes a minute:
Here's how it works:
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
This question already has an answer here:
I've been trying for days now to get Oracle 11g installed on Ubuntu 14.04.
There are a number of notes / tutorials on this, and I've tried more than ten of them, but I keep encountering the same issue once running the Oracle installer, at the 'Link Binaries' step it always complains with this message:
Error in invoking target 'install' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'. See '/u01/app/oraInventory/logs/installActions_03-25-51OM.log' for details.
In the log file it says
INFO: //usr/lib/x86_64-linux-gnu/libstdc++.so.5: undefined reference to `memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status
From the tens of forums I've trawled through, most seem to suggest that the problem is that Ubuntu comes with libstdc++6 installed but Oracle 11gR2 requires libstdc++5.
So, as suggested in many places, I've done something similar to the following, although I had to dig around a bit to find the right versions:
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb
dpkg-deb -x libstdc++5_3.3.6-17ubuntu1_amd64.deb ia64-libs
sudo cp ia64-libs/usr/lib/libstdc++.so.5.0.7 /usr/lib64/
cd /usr/lib64/
sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5
wget /ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb
dpkg-deb -x ia32-libs_2.7ubuntu6.1_amd64.deb ia32-libs
sudo cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/
cd /usr/lib32
sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5
But it... just... doesn't... work!
I've rebooted etc to make sure this take effect, but no luck. This is on a clean install of Ubuntu 14.04, with nothing but some proxy settings setup, and java 7 installed.
I've created a separate oracle user (and an oinstall and dba group), and I su to the oracle user before running the runInstaller script from the extracted oracle download.
Does anyone have a step-by-step guide applicable to Ubuntu 14.04 and Oracle 11gR2?
Update Fri 09 Jan 2015
Some more info that may be relevant.
In /usr/lib32/ I have this:
lrwxrwxrwx
1 root root
7 15:22 libstdc++.so.5 -& libstdc++.so.5.0.7
-rw-r--r--
1 root root 737192 Jan
7 15:21 libstdc++.so.5.0.7
In /usr/lib64/ I have this:
lrwxrwxrwx
1 root root
7 13:46 libc_nonshared.a -& /usr/lib/x86_64-linux-gnu/libc_nonshared.a
lrwxrwxrwx
1 root root
7 13:47 libpthread_nonshared.a -& /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a
lrwxrwxrwx
1 root root
7 14:52 libstdc++.so.5 -& libstdc++.so.5.0.7
-rw-r--r--
1 root root 829792 Jan
7 14:51 libstdc++.so.5.0.7
lrwxrwxrwx
1 root root
7 13:47 libstdc++.so.6 -& /usr/lib/x86_64-linux-gnu/libstdc++.so.6
In ~/.bashrc (for the oracle user) I have this:
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=mydb
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib32:/usr/lib64:$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$CLASSPATH
marked as duplicate by , , , ,
This question has been asked before and already has an answer. If those answers do not fully address your question, please .
I had the same "undefined reference to `memcpy@GLIBC_2.14'" error with Oracle 11g R2 on Debian 8 (Jessie). I solved it with the solution :
Define the relevant directories:
ORACLE_HOME="/u01/app/oracle/product/11.2.0/dbhome_1"
mkfile="$ORACLE_HOME/ctx/lib/ins_ctx.mk"
Create a short C wrapper:
cat && __EOF__ & /tmp/memcpy_wrap.c
#include &stddef.h&
#include &string.h&
asm (".symver wrap_memcpy, memcpy@GLIBC_2.14");
void *wrap_memcpy(void *dest, const void *src, size_t n) {
return memcpy(dest, src, n);
Edit the make file to use this wrapper and compile it:
sed -i -e 's/\$(INSO_LINK)/\$(INSO_LINK) -Wl,--wrap=memcpy_wrap \$(ORACLE_HOME)\/ctx\/lib\/memcpy_wrap.o/g' "$mkfile"
gcc -c /tmp/memcpy_wrap.c -o ${ORACLE_HOME}/ctx/lib/memcpy_wrap.o && rm /tmp/memcpy_wrap.c
I think I've worked this out.
I'm new to Ubuntu (just installed 14.04 on an old server) and have been trying to crack the memcpy@GLIBC_2.14 issue as well.
I've followed the same notes, etc you refer to above.
It would appear that libstdc++.so.5.0.7 ends up in multiple places i.e. /usr/lib64, /usr/lib/x86_64-linux-gnu.
When I work through all of the various links, etc it would appear that the /usr/lib64/libstdc++.so.5 library is actually pointing to the version sitting in /usr/lib/x86_65-linux-gnu. This is significantly newer than the one you (and I) download.
I took a copy of the original libstdc++.so.5.0.7 in the /usr/lib/x86-64 and then copied the file we downloaded into this directory and repointed the libstdc++.so.5 link to the new version of the file.
It moved on. Now, I'm getting issues with Enterprise Manager, will come back to this.
58.3k8113185
protected by ♦
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10
on this site (the ).
Would you like to answer one of these
Not the answer you're looking for?
Browse other questions tagged
Ask Ubuntu works best with JavaScript enabledThis is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the .
Index Nav:
[] [] [] []
Message Nav:
Other format:
Re: Bootstrap failure in libgcc stage 1 x86_64-linux-gnu
From: Ed Smith-Rowland &3dw4rd at verizon dot net&
To: Jonathan Wakely &jwakely dot gcc at gmail dot com&
Cc: gcc-help at gcc dot gnu dot org
Date: Wed, 16 Feb :57 -0500
Subject: Re: Bootstrap failure in libgcc stage 1 x86_64-linux-gnu
References: && &&
On 02/13/ PM, Jonathan Wakely wrote:
On 13 February , Ed Smith-Rowland wrote:
I'm configuring with:
../gcc/configure --prefix=/home/ed/bin --with-gmp=/usr/local
--with-mpfr=/usr/local --with-mpc=/usr/local --with-ppl=/usr/local
--with-cloog=/usr/local --enable-cloog-backend=isl --enable-lto
--enable-languages=c,c++,objc,obj-c++,lto,fortran,go
It gets down to libgcc and starts config and fails:
-----------------------------------------------------------------------------------------------------------------------------------
make[3]: Leaving directory `/home/ed/obj/gcc'
mkdir -p -- x86_64-unknown-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm... /home/ed/obj/./gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /home/ed/obj/./gcc/xgcc
-B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/
-B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem
/home/ed/bin/x86_64-unknown-linux-gnu/include -isystem
/home/ed/bin/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/home/ed/obj/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/ed/obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/ed/obj'
make: *** [all] Error 2
-----------------------------------------------------------------------------------------------------------------------------------
I removed everything from the build directory.
I have the most recent svn
Any ideas?
Did you attach the top-level config.log? The details are in config.log
in the libgcc directory.
The most common reason is that the runtime linker can't find
libgmp.so, limmpfr.so and/or libmpc.so
The library exits.
Things are just not pointed right somehow.
ed@bad-horse:~/obj/x86_64-unknown-linux-gnu/libgcc$ find /usr/local/
-name libcloog-isl.so.1
/usr/local/lib/libcloog-isl.so.1
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.64.
Invocation command line was
$ /home/ed/gcc/libgcc/configure --cache-file=./config.cache --enable-multilib --prefix=/home/ed/bin --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local --enable-cloog-backend=isl --enable-lto --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ --program-transform-name=s,y,y, --disable-option-checking --with-target-subdir=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --srcdir=../../../gcc/libgcc --disable-intermodule --enable-checking=yes,types --disable-coverage --enable-languages=c,c++,lto
## --------- ##
## Platform. ##
## --------- ##
hostname = bad-horse
uname -m = x86_64
uname -r = 2.6.35-25-generic
uname -s = Linux
uname -v = #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011
/usr/bin/uname -p = unknown
/bin/uname -X
/usr/bin/arch -k
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo
/bin/machine
/usr/bin/oslevel
/bin/universe
PATH: /usr/local/Trolltech/Qt-4.6.3/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1742: creating cache ./config.cache
configure:1903: checking for --enable-version-specific-runtime-libs
configure:1916: result: no
configure:1964: checking for a BSD-compatible install
configure:2032: result: /usr/bin/install -c
configure:2048: checking for gawk
configure:2075: result: gawk
configure:2095: checking build system type
configure:2109: result: x86_64-unknown-linux-gnu
configure:2129: checking host system type
configure:2142: result: x86_64-unknown-linux-gnu
configure:2245: checking for x86_64-unknown-linux-gnu-ar
configure:2272: result: ar
configure:2337: checking for x86_64-unknown-linux-gnu-lipo
configure:2364: result: lipo
configure:2429: checking for x86_64-unknown-linux-gnu-nm
configure:2456: result: /home/ed/obj/./gcc/nm
configure:2521: checking for x86_64-unknown-linux-gnu-ranlib
configure:2548: result: ranlib
configure:2613: checking for x86_64-unknown-linux-gnu-strip
configure:2640: result: strip
configure:2702: checking whether ln -s works
configure:2706: result: yes
configure:2723: checking for x86_64-unknown-linux-gnu-gcc
configure:2750: result: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
configure:3019: checking for C compiler version
configure:3028: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
--version &&5
xgcc (GCC) 4.6.0
(experimental)
Copyright (C) 2011 Free Software Foundation, Inc.
T see the source for copying conditions.
There is NO
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3039: $? = 0
configure:3028: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
Reading specs from /home/ed/obj/./gcc/specs
COLLECT_GCC=/home/ed/obj/./gcc/xgcc
COLLECT_LTO_WRAPPER=/home/ed/obj/./gcc/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/home/ed/bin --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local --enable-cloog-backend=isl --enable-lto --enable-languages=c,c++,objc,obj-c++,lto,fortran,go
Thread model: posix
gcc version 4.6.0
(experimental) (GCC)
configure:3039: $? = 0
configure:3028: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
xgcc: error: unrecognized option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3039: $? = 1
configure:3028: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
-qversion &&5
xgcc: error: unrecognized option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3039: $? = 1
configure:3055: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
-o conftest -g -O2
conftest.c
/home/ed/obj/./gcc/cc1: error while loading shared libraries: libcloog-isl.so.1: cannot open shared object file: No such file or directory
configure:3058: $? = 1
configure:3246: checking for suffix of object files
configure:3268: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
conftest.c &&5
/home/ed/obj/./gcc/cc1: error while loading shared libraries: libcloog-isl.so.1: cannot open shared object file: No such file or directory
configure:3272: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME &GNU C Runtime Library&
| #define PACKAGE_TARNAME &libgcc&
| #define PACKAGE_VERSION &1.0&
| #define PACKAGE_STRING &GNU C Runtime Library 1.0&
| #define PACKAGE_BUGREPORT &&
| #define PACKAGE_URL &;
| /* end confdefs.h.
configure:3286: error: in `/home/ed/obj/x86_64-unknown-linux-gnu/libgcc':
configure:3289: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-unknown-linux-gnu
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_prog_AR=ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
ac_cv_prog_LIPO=lipo
ac_cv_prog_NM=/home/ed/obj/./gcc/nm
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_STRIP=strip
## ----------------- ##
## Output variables. ##
## ----------------- ##
AWK='gawk'
CC='/home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
CFLAGS='-g -O2'
CPPFLAGS=''
ECHO_N='-n'
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
LDFLAGS=''
LIBOBJS=''
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
NM='/home/ed/obj/./gcc/nm'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU C Runtime Library'
PACKAGE_STRING='GNU C Runtime Library 1.0'
PACKAGE_TARNAME='libgcc'
PACKAGE_URL=''
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SHELL='/bin/bash'
STRIP='strip'
ac_ct_CC=''
asm_hidden_op=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_libsubdir='build-x86_64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-unknown-linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
decimal_float=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_decimal_float=''
enable_shared='yes'
exec_prefix='NONE'
extra_parts=''
fixed_point=''
host='x86_64-unknown-linux-gnu'
host_alias='x86_64-unknown-linux-gnu'
host_cpu='x86_64'
host_noncanonical='x86_64-unknown-linux-gnu'
host_os='linux-gnu'
host_subdir='.'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_topdir='../../../gcc/libgcc/..'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/ed/bin'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
set_have_cc_tls=''
set_use_emutls=''
sharedstatedir='${prefix}/com'
slibdir='$(libdir)'
sysconfdir='${prefix}/etc'
target_alias='x86_64-unknown-linux-gnu'
target_noncanonical='x86_64-unknown-linux-gnu'
target_subdir='x86_64-unknown-linux-gnu'
tmake_file=''
toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
toolexeclibdir='$(libdir)/../lib64'
vis_hide=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME &GNU C Runtime Library&
#define PACKAGE_TARNAME &libgcc&
#define PACKAGE_VERSION &1.0&
#define PACKAGE_STRING &GNU C Runtime Library 1.0&
#define PACKAGE_BUGREPORT &&
#define PACKAGE_URL &;
configure: exit 1
Follow-Ups:
From: Kai Ruottu
From: Jonathan Wakely
References:
From: Ed Smith-Rowland
From: Jonathan Wakely
Index Nav:
[] [] [] []
Message Nav:

我要回帖

更多关于 ubuntu usr目录 的文章

 

随机推荐