- http://forums.gentoo.org/viewtopic.php?t=294109
- http://forums.gentoo.org/viewtopic.php?t=27486
- http://forums.gentoo.org/viewtopic.php? ... xecutables
- http://forums.gentoo.org/viewtopic-p-27 ... ml#2769680
Code: Select all
Marvin ~ # gcc-config -l
[1] x86_64-pc-linux-gnu-3.4.4 *
[2] x86_64-pc-linux-gnu-3.4.4-hardened
[3] x86_64-pc-linux-gnu-3.4.4-hardenednopie
[4] x86_64-pc-linux-gnu-3.4.4-hardenednopiessp
[5] x86_64-pc-linux-gnu-3.4.4-hardenednossp
Marvin ~ # binutils-config -l
[1] i686-pc-linux-gnu-2.16.1 *
Marvin ~ #
Code: Select all
Marvin ~ # binutils-config -c
* /usr/bin/binutils-config: No binutils profile is active!
Marvin ~ # binutils-config -l
[1] i686-pc-linux-gnu-2.16.1 *
Marvin ~ # binutils-config 1
* Switching to i686-pc-linux-gnu-2.16.1 ... [ ok ]Marvin ~ # source /etc/profile
Marvin ~ # binutils-config -c
* /usr/bin/binutils-config: No binutils profile is active!
Marvin ~ # binutils-config -u
* /usr/bin/binutils-config: No profiles exist for ''
Marvin ~ # binutils-config --amd64
/usr/bin/binutils-config: line 46: /etc/env.d/binutils/ * /usr/bin/binutils-config: No binutils profile is active!: No such file or directory
* * /usr/bin/binutils-config: No binutils profile is active! is invalid (no $TARGET defined) :(
Marvin ~ #
Code: Select all
Marvin ~ # emerge php
Calculating dependencies... done!
>>> Emerging (1 of 41) x11-proto/xproto-7.0.5 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking xproto-7.0.5.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking xproto-7.0.5.tar.bz2 to /var/tmp/portage/xproto-7.0.5/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5 ...
* econf: updating xproto-7.0.5/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating xproto-7.0.5/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/config.log
!!! ERROR: x11-proto/xproto-7.0.5 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called x-modular_src_compile
x-modular.eclass, line 329: Called x-modular_src_configure
x-modular.eclass, line 316: Called econf '--prefix=/usr' '--datadir=/usr/share'
ebuild.sh, line 541: Called die
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Marvin ~ #
Code: Select all
Marvin ~ # cat /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Xproto configure 7.0.5, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
## --------- ##
## Platform. ##
## --------- ##
hostname = Marvin
uname -m = x86_64
uname -r = 2.6.17-gentoo-r4
uname -s = Linux
uname -v = #1 Sat Aug 12 22:38:44 CDT 2006
/usr/bin/uname -p = AMD Sempron(tm) Processor 3100+
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/lib/ccache/bin
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1329: checking for a BSD-compatible install
configure:1384: result: /bin/install -c
configure:1395: checking whether build environment is sane
configure:1438: result: yes
configure:1503: checking for gawk
configure:1519: found /bin/gawk
configure:1529: result: gawk
configure:1539: checking whether make sets $(MAKE)
configure:1559: result: yes
configure:1739: checking build system type
configure:1757: result: x86_64-pc-linux-gnu
configure:1765: checking host system type
configure:1779: result: x86_64-pc-linux-gnu
configure:1844: checking for style of include used by make
configure:1872: result: GNU
configure:1905: checking for x86_64-pc-linux-gnu-gcc
configure:1921: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:1931: result: x86_64-pc-linux-gnu-gcc
configure:2213: checking for C compiler version
configure:2216: x86_64-pc-linux-gnu-gcc --version </dev/null >&5
x86_64-pc-linux-gnu-gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2219: $? = 0
configure:2221: x86_64-pc-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
configure:2224: $? = 0
configure:2226: x86_64-pc-linux-gnu-gcc -V </dev/null >&5
x86_64-pc-linux-gnu-gcc: `-V' option must have argument
configure:2229: $? = 1
configure:2252: checking for C compiler default output file name
configure:2255: x86_64-pc-linux-gnu-gcc -O1 -march=k8 -pipe conftest.c >&5
{standard input}: Assembler messages:
{standard input}:32: Error: cannot represent relocation type BFD_RELOC_64
configure:2258: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.5"
| #define PACKAGE_STRING "Xproto 7.0.5"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.5"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2297: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_build_alias=x86_64-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O1 -march=k8 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_host_alias=x86_64-pc-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/missing --run tar'
AUTOCONF='${SHELL} /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/missing --run automake-1.9'
AWK='gawk'
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-O1 -march=k8 -pipe'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/missing --run makeinfo'
OBJEXT=''
PACKAGE='xproto'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='Xproto'
PACKAGE_STRING='Xproto 7.0.5'
PACKAGE_TARNAME='xproto'
PACKAGE_VERSION='7.0.5'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_FDS_BITS=''
VERSION='7.0.5'
ac_ct_CC=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/xproto-7.0.5/work/xproto-7.0.5/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "xproto"
#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
#define PACKAGE_NAME "Xproto"
#define PACKAGE_STRING "Xproto 7.0.5"
#define PACKAGE_TARNAME "xproto"
#define PACKAGE_VERSION "7.0.5"
#define VERSION "7.0.5"
configure: exit 77
Marvin ~ #
Lastly my /etc/make.conf
Code: Select all
Marvin ~ # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O1 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j8"
USE="mmx sse sse2 3dnow ssl curl apache2 php perl"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"


