Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: blakawk@×××××××××.com
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] unable to compile gcc 4.5.3-r1
Date: Fri, 02 Sep 2011 12:13:07
Message-Id: 13008.1314965505@ccs.covici.com
In Reply to: Re: [gentoo-user] unable to compile gcc 4.5.3-r1 by Blakawk
1 Blakawk <blakawk@×××××××××.com> wrote:
2
3 > On 02.09.2011 12:16, covici@××××××××××.com wrote:
4 > > Dale <rdalek1967@×××××.com> wrote:
5 > >
6 > >> covici@××××××××××.com wrote:
7 > >> > Hi. I am unable to compile gcc 4.5.3-r1 -- I get the following
8 > >> error
9 > >> > when doing so:
10 > >> >
11 > >> > mkdir -p -- x86_64-pc-linux-gnu/libgomp
12 > >> > Checking multilib configuration for libgomp...
13 > >> > Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
14 > >> > configure: loading site script /usr/share/config.site
15 > >> > configure: loading site script
16 > >> /usr/share/crossdev/include/site/linux
17 > >> > configure: loading site script
18 > >> > /usr/share/crossdev/include/site/x86_64-linux-gnu
19 > >> > configure: creating cache ./config.cache
20 > >> > checking for --enable-version-specific-runtime-libs... no
21 > >> > checking for --enable-generated-files-in-srcdir... no
22 > >> > checking build system type... x86_64-pc-linux-gnu
23 > >> > checking host system type... x86_64-pc-linux-gnu
24 > >> > checking target system type... x86_64-pc-linux-gnu
25 > >> > checking for a BSD-compatible install... /usr/bin/install -c
26 > >> > checking whether build environment is sane... yes
27 > >> > checking for a thread-safe mkdir -p... /bin/mkdir -p
28 > >> > checking for gawk... gawk
29 > >> > checking whether make sets $(MAKE)... yes
30 > >> > checking for
31 > >> >
32 > >> x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
33 > >> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
34 > >> > -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
35 > >> -isystem
36 > >> > /usr/x86_64-pc-linux-gnu/include -isystem
37 > >> > /usr/x86_64-pc-linux-gnu/sys-include
38 > >> > checking for C compiler default output file name...
39 > >> > configure: error: in
40 > >> >
41 > >> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
42 > >> > configure: error: C compiler cannot create executables
43 > >> > See `config.log' for more details.
44 > >> >
45 > >> > I have searched google and looked at bugs.gentoo.org, but no joy.
46 > >> >
47 > >> > I am running unstable amd64 gentoo.
48 > >> >
49 > >> > Any assistance would be appreciated.
50 > >> >
51 > >>
52 > >> Google worked here for me but usually when I have a problem, it
53 > >> fails.
54 > >> I guess Google treats you the same as me. lol I found this:
55 > >>
56 > >> http://forums.gentoo.org/viewtopic-t-294109.html
57 > >>
58 > >> That help any?
59 > > Nope, this only happens in that specific situation, most things
60 > > compile
61 > > normally. I didn't see that post for that reason -- I was looking
62 > > for
63 > > something more specific.
64 >
65 > Please provide the so-called config.log to see what happened (normally
66 > located in
67 > /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp/config.log).
68
69 OK, here is a section of config.log -- I hope its not too much.
70
71 COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
72 COLLECT_LTO_WRAPPER=/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/lto-wrapper
73 Target: x86_64-pc-linux-gnu
74 Configured with:
75 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure
76 --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3
77 --includedir=/u\sr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include
78 --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3
79 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man\
80 --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info
81 --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4
82 --host=x86_64-pc-lin\ux-gnu --build=x86_64-pc-linux-gnu
83 --disable-altivec --disable-fixed-point --without-ppl --without-cloog
84 --disable-lto --enable-nls --without-included-gettext
85 \--with-system-zlib --disable-werror --enable-secureplt
86 --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp
87 --with-python-dir=/share/gcc-dat\a/x86_64-pc-linux-gnu/4.5.3/python
88 --enable-checking=release --disable-libgcj
89 --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix
90 --enable-\__cxa_atexit --enable-clocale=gnu
91 --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r1
92 p1.0, pie-0.4.5'
93 Thread model: posix
94 gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5)
95 configure:3638: $? = 0
96 configure:3627:
97 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
98 -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
99 -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
100 -isystem /usr/x86_64-pc-linux-gnu/include -isystem
101 /usr/x86_64-pc-linux-gnu/sys-include -V >&5
102 xgcc: '-V' must come at the start of the command line
103 configure:3638: $? = 1
104 configure:3627:
105 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
106 -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
107 -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
108 -isystem /usr/x86_64-pc-linux-gnu/include -isystem
109 /usr/x86_64-pc-linux-gnu/sys-include -qversion >&5
110 xgcc: unrecognized option '-qversion'
111 xgcc: no input files
112 configure:3638: $? = 1
113 configure:3658: checking for C compiler default output file name
114 configure:3680:
115 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
116 -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
117 -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
118 -isystem /usr/x86_64-pc-linux-gnu/include -isystem
119 /usr/x86_64-pc-linux-gnu/sys-include -g -O2 -mtune=core2 -pipe\ -ggdb
120 conftest.c >&5
121 /usr/lib/../lib64/crt1.o: In function `_start':
122 (.text+0x12): undefined reference to `__libc_csu_fini'
123 /usr/lib/../lib64/crt1.o: In function `_start':
124 (.text+0x19): undefined reference to `__libc_csu_init'
125 collect2: ld returned 1 exit status
126 configure:3684: $? = 1
127 configure:3721: result:
128 configure: failed program was:
129 | /* confdefs.h */
130 | #define PACKAGE_NAME "GNU OpenMP Runtime Library"
131 | #define PACKAGE_TARNAME "libgomp"
132 | #define PACKAGE_VERSION "1.0"
133 | #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
134 | #define PACKAGE_BUGREPORT ""
135 | #define PACKAGE_URL "http://www.gnu.org/software/libgomp/"
136 | #define PACKAGE "libgomp"
137 | #define VERSION "1.0"
138 | /* end confdefs.h. */
139 |
140 | int
141 | main ()
142 | {
143 |
144 | ;
145 | return 0;
146 | }
147 configure:3727: error: in
148 | `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
149 configure:3731: error: C compiler cannot create executables
150
151
152 --
153 Your life is like a penny. You're going to lose it. The question is:
154 How do
155 you spend it?
156
157 John Covici
158 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] unable to compile gcc 4.5.3-r1 Blakawk <blakawk@×××××××××.com>
Re: [gentoo-user] unable to compile gcc 4.5.3-r1 Dale <rdalek1967@×××××.com>