public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] unable to compile gcc 4.5.3-r1
@ 2011-09-02  9:53 covici
  2011-09-02 10:05 ` Dale
  0 siblings, 1 reply; 11+ messages in thread
From: covici @ 2011-09-02  9:53 UTC (permalink / raw
  To: gentoo-user

Hi.  I am unable to compile gcc 4.5.3-r1 -- I get the following error
when doing so:

mkdir -p -- x86_64-pc-linux-gnu/libgomp
Checking multilib configuration for libgomp...
Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
configure: loading site script
/usr/share/crossdev/include/site/x86_64-linux-gnu
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for --enable-generated-files-in-srcdir... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for
x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
/usr/x86_64-pc-linux-gnu/include -isystem
/usr/x86_64-pc-linux-gnu/sys-include
checking for C compiler default output file name...
configure: error: in
`/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details.

I have searched google and looked at bugs.gentoo.org, but no joy.

I am running unstable amd64 gentoo.

Any assistance would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02  9:53 [gentoo-user] unable to compile gcc 4.5.3-r1 covici
@ 2011-09-02 10:05 ` Dale
  2011-09-02 10:16   ` covici
  2011-09-02 11:56   ` Pandu Poluan
  0 siblings, 2 replies; 11+ messages in thread
From: Dale @ 2011-09-02 10:05 UTC (permalink / raw
  To: gentoo-user

covici@ccs.covici.com wrote:
> Hi.  I am unable to compile gcc 4.5.3-r1 -- I get the following error
> when doing so:
>
> mkdir -p -- x86_64-pc-linux-gnu/libgomp
> Checking multilib configuration for libgomp...
> Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
> configure: loading site script /usr/share/config.site
> configure: loading site script /usr/share/crossdev/include/site/linux
> configure: loading site script
> /usr/share/crossdev/include/site/x86_64-linux-gnu
> configure: creating cache ./config.cache
> checking for --enable-version-specific-runtime-libs... no
> checking for --enable-generated-files-in-srcdir... no
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for
> x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
> -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
> /usr/x86_64-pc-linux-gnu/include -isystem
> /usr/x86_64-pc-linux-gnu/sys-include
> checking for C compiler default output file name...
> configure: error: in
> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
>
> I have searched google and looked at bugs.gentoo.org, but no joy.
>
> I am running unstable amd64 gentoo.
>
> Any assistance would be appreciated.
>

Google worked here for me but usually when I have a problem, it fails.  
I guess Google treats you the same as me.  lol  I found this:

http://forums.gentoo.org/viewtopic-t-294109.html

That help any?

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 10:05 ` Dale
@ 2011-09-02 10:16   ` covici
  2011-09-02 10:44     ` Blakawk
  2011-09-02 11:15     ` Dale
  2011-09-02 11:56   ` Pandu Poluan
  1 sibling, 2 replies; 11+ messages in thread
From: covici @ 2011-09-02 10:16 UTC (permalink / raw
  To: gentoo-user


Dale <rdalek1967@gmail.com> wrote:

> covici@ccs.covici.com wrote:
> > Hi.  I am unable to compile gcc 4.5.3-r1 -- I get the following error
> > when doing so:
> >
> > mkdir -p -- x86_64-pc-linux-gnu/libgomp
> > Checking multilib configuration for libgomp...
> > Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
> > configure: loading site script /usr/share/config.site
> > configure: loading site script /usr/share/crossdev/include/site/linux
> > configure: loading site script
> > /usr/share/crossdev/include/site/x86_64-linux-gnu
> > configure: creating cache ./config.cache
> > checking for --enable-version-specific-runtime-libs... no
> > checking for --enable-generated-files-in-srcdir... no
> > checking build system type... x86_64-pc-linux-gnu
> > checking host system type... x86_64-pc-linux-gnu
> > checking target system type... x86_64-pc-linux-gnu
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for a thread-safe mkdir -p... /bin/mkdir -p
> > checking for gawk... gawk
> > checking whether make sets $(MAKE)... yes
> > checking for
> > x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
> > -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
> > /usr/x86_64-pc-linux-gnu/include -isystem
> > /usr/x86_64-pc-linux-gnu/sys-include
> > checking for C compiler default output file name...
> > configure: error: in
> > `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
> > configure: error: C compiler cannot create executables
> > See `config.log' for more details.
> >
> > I have searched google and looked at bugs.gentoo.org, but no joy.
> >
> > I am running unstable amd64 gentoo.
> >
> > Any assistance would be appreciated.
> >
> 
> Google worked here for me but usually when I have a problem, it fails.
> I guess Google treats you the same as me.  lol  I found this:
> 
> http://forums.gentoo.org/viewtopic-t-294109.html
> 
> That help any?
Nope, this only happens in that specific situation, most things compile
normally.  I didn't see that post for that reason -- I was looking for
something more specific.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 10:16   ` covici
@ 2011-09-02 10:44     ` Blakawk
  2011-09-02 12:11       ` covici
  2011-09-02 11:15     ` Dale
  1 sibling, 1 reply; 11+ messages in thread
From: Blakawk @ 2011-09-02 10:44 UTC (permalink / raw
  To: gentoo-user

On 02.09.2011 12:16, covici@ccs.covici.com wrote:
> Dale <rdalek1967@gmail.com> wrote:
>
>> covici@ccs.covici.com wrote:
>> > Hi.  I am unable to compile gcc 4.5.3-r1 -- I get the following 
>> error
>> > when doing so:
>> >
>> > mkdir -p -- x86_64-pc-linux-gnu/libgomp
>> > Checking multilib configuration for libgomp...
>> > Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
>> > configure: loading site script /usr/share/config.site
>> > configure: loading site script 
>> /usr/share/crossdev/include/site/linux
>> > configure: loading site script
>> > /usr/share/crossdev/include/site/x86_64-linux-gnu
>> > configure: creating cache ./config.cache
>> > checking for --enable-version-specific-runtime-libs... no
>> > checking for --enable-generated-files-in-srcdir... no
>> > checking build system type... x86_64-pc-linux-gnu
>> > checking host system type... x86_64-pc-linux-gnu
>> > checking target system type... x86_64-pc-linux-gnu
>> > checking for a BSD-compatible install... /usr/bin/install -c
>> > checking whether build environment is sane... yes
>> > checking for a thread-safe mkdir -p... /bin/mkdir -p
>> > checking for gawk... gawk
>> > checking whether make sets $(MAKE)... yes
>> > checking for
>> > x86_64-pc-linux-gnu-gcc... 
>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
>> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
>> > -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ 
>> -isystem
>> > /usr/x86_64-pc-linux-gnu/include -isystem
>> > /usr/x86_64-pc-linux-gnu/sys-include
>> > checking for C compiler default output file name...
>> > configure: error: in
>> > 
>> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
>> > configure: error: C compiler cannot create executables
>> > See `config.log' for more details.
>> >
>> > I have searched google and looked at bugs.gentoo.org, but no joy.
>> >
>> > I am running unstable amd64 gentoo.
>> >
>> > Any assistance would be appreciated.
>> >
>>
>> Google worked here for me but usually when I have a problem, it 
>> fails.
>> I guess Google treats you the same as me.  lol  I found this:
>>
>> http://forums.gentoo.org/viewtopic-t-294109.html
>>
>> That help any?
> Nope, this only happens in that specific situation, most things 
> compile
> normally.  I didn't see that post for that reason -- I was looking 
> for
> something more specific.

Please provide the so-called config.log to see what happened (normally 
located in 
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp/config.log).

-- 
Blog: http://gentooist.com
Twitter: http://twitter.com/blakawk



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 10:16   ` covici
  2011-09-02 10:44     ` Blakawk
@ 2011-09-02 11:15     ` Dale
  1 sibling, 0 replies; 11+ messages in thread
From: Dale @ 2011-09-02 11:15 UTC (permalink / raw
  To: gentoo-user

covici@ccs.covici.com wrote:
> Dale<rdalek1967@gmail.com>  wrote:
>
>
>> Google worked here for me but usually when I have a problem, it fails.
>> I guess Google treats you the same as me.  lol  I found this:
>>
>> http://forums.gentoo.org/viewtopic-t-294109.html
>>
>> That help any?
> Nope, this only happens in that specific situation, most things compile
> normally.  I didn't see that post for that reason -- I was looking for
> something more specific.
>

Did you check out the link that was also on that page?  Here it is:

http://forums.gentoo.org/viewtopic.php?t=27486

It's hard to give a "specific" fix when we don't know much about the 
error.  All we can do is point and hope one or the other hits the mark.  
;-)

Dale

:-)  ;-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 10:05 ` Dale
  2011-09-02 10:16   ` covici
@ 2011-09-02 11:56   ` Pandu Poluan
  1 sibling, 0 replies; 11+ messages in thread
From: Pandu Poluan @ 2011-09-02 11:56 UTC (permalink / raw
  To: gentoo-user

(Sorry for top-posting; Gmail java mobile client sucks)

Also, ensure that you have enough free inodes if you are using
ext[2-4] filesystem. Use 'df -i' to check.

I once failed emerging gcc-4.5.3 because I ran out of inodes. That was
when I have a single partition for root, with slightly less than
320'000 inodes.

I was forced to re-create the filesystem, and finally decided to use
ReiserFS instead. You may want to use ReiserFS at least for /var/tmp
to prevent more inodes problems. After all, /var/tmp (especially
/var/tmp/portage) consumes inodes like a hungry dog.

Rgds,


On 2011-09-02, Dale <rdalek1967@gmail.com> wrote:
> covici@ccs.covici.com wrote:
>> Hi.  I am unable to compile gcc 4.5.3-r1 -- I get the following error
>> when doing so:
>>
>> mkdir -p -- x86_64-pc-linux-gnu/libgomp
>> Checking multilib configuration for libgomp...
>> Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
>> configure: loading site script /usr/share/config.site
>> configure: loading site script /usr/share/crossdev/include/site/linux
>> configure: loading site script
>> /usr/share/crossdev/include/site/x86_64-linux-gnu
>> configure: creating cache ./config.cache
>> checking for --enable-version-specific-runtime-libs... no
>> checking for --enable-generated-files-in-srcdir... no
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-pc-linux-gnu
>> checking target system type... x86_64-pc-linux-gnu
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking for
>> x86_64-pc-linux-gnu-gcc...
>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
>> -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
>> -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
>> /usr/x86_64-pc-linux-gnu/include -isystem
>> /usr/x86_64-pc-linux-gnu/sys-include
>> checking for C compiler default output file name...
>> configure: error: in
>> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details.
>>
>> I have searched google and looked at bugs.gentoo.org, but no joy.
>>
>> I am running unstable amd64 gentoo.
>>
>> Any assistance would be appreciated.
>>
>
> Google worked here for me but usually when I have a problem, it fails.
> I guess Google treats you the same as me.  lol  I found this:
>
> http://forums.gentoo.org/viewtopic-t-294109.html
>
> That help any?
>
> Dale
>
> :-)  :-)
>
>


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 10:44     ` Blakawk
@ 2011-09-02 12:11       ` covici
  2011-09-02 12:20         ` Blakawk
  2011-09-02 14:05         ` Dale
  0 siblings, 2 replies; 11+ messages in thread
From: covici @ 2011-09-02 12:11 UTC (permalink / raw
  To: blakawk; +Cc: gentoo-user

Blakawk <blakawk@gentooist.com> wrote:

> On 02.09.2011 12:16, covici@ccs.covici.com wrote:
> > Dale <rdalek1967@gmail.com> wrote:
> >
> >> covici@ccs.covici.com wrote:
> >> > Hi.  I am unable to compile gcc 4.5.3-r1 -- I get the following
> >> error
> >> > when doing so:
> >> >
> >> > mkdir -p -- x86_64-pc-linux-gnu/libgomp
> >> > Checking multilib configuration for libgomp...
> >> > Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
> >> > configure: loading site script /usr/share/config.site
> >> > configure: loading site script
> >> /usr/share/crossdev/include/site/linux
> >> > configure: loading site script
> >> > /usr/share/crossdev/include/site/x86_64-linux-gnu
> >> > configure: creating cache ./config.cache
> >> > checking for --enable-version-specific-runtime-libs... no
> >> > checking for --enable-generated-files-in-srcdir... no
> >> > checking build system type... x86_64-pc-linux-gnu
> >> > checking host system type... x86_64-pc-linux-gnu
> >> > checking target system type... x86_64-pc-linux-gnu
> >> > checking for a BSD-compatible install... /usr/bin/install -c
> >> > checking whether build environment is sane... yes
> >> > checking for a thread-safe mkdir -p... /bin/mkdir -p
> >> > checking for gawk... gawk
> >> > checking whether make sets $(MAKE)... yes
> >> > checking for
> >> >
> >> x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> >> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
> >> > -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
> >> -isystem
> >> > /usr/x86_64-pc-linux-gnu/include -isystem
> >> > /usr/x86_64-pc-linux-gnu/sys-include
> >> > checking for C compiler default output file name...
> >> > configure: error: in
> >> >
> >> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
> >> > configure: error: C compiler cannot create executables
> >> > See `config.log' for more details.
> >> >
> >> > I have searched google and looked at bugs.gentoo.org, but no joy.
> >> >
> >> > I am running unstable amd64 gentoo.
> >> >
> >> > Any assistance would be appreciated.
> >> >
> >>
> >> Google worked here for me but usually when I have a problem, it
> >> fails.
> >> I guess Google treats you the same as me.  lol  I found this:
> >>
> >> http://forums.gentoo.org/viewtopic-t-294109.html
> >>
> >> That help any?
> > Nope, this only happens in that specific situation, most things
> > compile
> > normally.  I didn't see that post for that reason -- I was looking
> > for
> > something more specific.
> 
> Please provide the so-called config.log to see what happened (normally
> located in
> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp/config.log).

OK, here is a section of config.log -- I hope its not too much.

COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
COLLECT_LTO_WRAPPER=/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3
--includedir=/u\sr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man\
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4
--host=x86_64-pc-lin\ux-gnu --build=x86_64-pc-linux-gnu
--disable-altivec --disable-fixed-point --without-ppl --without-cloog
--disable-lto --enable-nls --without-included-gettext
\--with-system-zlib --disable-werror --enable-secureplt
--enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp
--with-python-dir=/share/gcc-dat\a/x86_64-pc-linux-gnu/4.5.3/python
--enable-checking=release --disable-libgcj
--enable-languages=c,c++,fortran --enable-shared --enable-threads=posix
--enable-\__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r1
p1.0, pie-0.4.5'
Thread model: posix
gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5)
configure:3638: $? = 0
configure:3627:
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
-B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
-isystem /usr/x86_64-pc-linux-gnu/include -isystem
/usr/x86_64-pc-linux-gnu/sys-include    -V >&5
xgcc: '-V' must come at the start of the command line
configure:3638: $? = 1
configure:3627:
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
-B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
-isystem /usr/x86_64-pc-linux-gnu/include -isystem
/usr/x86_64-pc-linux-gnu/sys-include    -qversion >&5
xgcc: unrecognized option '-qversion'
xgcc: no input files
configure:3638: $? = 1
configure:3658: checking for C compiler default output file name
configure:3680:
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
-B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
-isystem /usr/x86_64-pc-linux-gnu/include -isystem
/usr/x86_64-pc-linux-gnu/sys-include    -g -O2 -mtune=core2 -pipe\ -ggdb
conftest.c  >&5
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x12): undefined reference to `__libc_csu_fini'
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x19): undefined reference to `__libc_csu_init'
collect2: ld returned 1 exit status
configure:3684: $? = 1
configure:3721: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgomp/"
| #define PACKAGE "libgomp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3727: error: in
| `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
configure:3731: error: C compiler cannot create executables


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 12:11       ` covici
@ 2011-09-02 12:20         ` Blakawk
  2011-09-02 14:46           ` covici
  2011-09-02 14:05         ` Dale
  1 sibling, 1 reply; 11+ messages in thread
From: Blakawk @ 2011-09-02 12:20 UTC (permalink / raw
  To: gentoo-user

On 02.09.2011 14:11, covici@ccs.covici.com wrote:
> Blakawk <blakawk@gentooist.com> wrote:
>
>> On 02.09.2011 12:16, covici@ccs.covici.com wrote:
>> > Dale <rdalek1967@gmail.com> wrote:
>> >
>> >> covici@ccs.covici.com wrote:
>> >> > Hi.  I am unable to compile gcc 4.5.3-r1 -- I get the following
>> >> error
>> >> > when doing so:
>> >> >
>> >> > mkdir -p -- x86_64-pc-linux-gnu/libgomp
>> >> > Checking multilib configuration for libgomp...
>> >> > Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
>> >> > configure: loading site script /usr/share/config.site
>> >> > configure: loading site script
>> >> /usr/share/crossdev/include/site/linux
>> >> > configure: loading site script
>> >> > /usr/share/crossdev/include/site/x86_64-linux-gnu
>> >> > configure: creating cache ./config.cache
>> >> > checking for --enable-version-specific-runtime-libs... no
>> >> > checking for --enable-generated-files-in-srcdir... no
>> >> > checking build system type... x86_64-pc-linux-gnu
>> >> > checking host system type... x86_64-pc-linux-gnu
>> >> > checking target system type... x86_64-pc-linux-gnu
>> >> > checking for a BSD-compatible install... /usr/bin/install -c
>> >> > checking whether build environment is sane... yes
>> >> > checking for a thread-safe mkdir -p... /bin/mkdir -p
>> >> > checking for gawk... gawk
>> >> > checking whether make sets $(MAKE)... yes
>> >> > checking for
>> >> >
>> >> x86_64-pc-linux-gnu-gcc... 
>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
>> >> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
>> >> > -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
>> >> -isystem
>> >> > /usr/x86_64-pc-linux-gnu/include -isystem
>> >> > /usr/x86_64-pc-linux-gnu/sys-include
>> >> > checking for C compiler default output file name...
>> >> > configure: error: in
>> >> >
>> >> 
>> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
>> >> > configure: error: C compiler cannot create executables
>> >> > See `config.log' for more details.
>> >> >
>> >> > I have searched google and looked at bugs.gentoo.org, but no 
>> joy.
>> >> >
>> >> > I am running unstable amd64 gentoo.
>> >> >
>> >> > Any assistance would be appreciated.
>> >> >
>> >>
>> >> Google worked here for me but usually when I have a problem, it
>> >> fails.
>> >> I guess Google treats you the same as me.  lol  I found this:
>> >>
>> >> http://forums.gentoo.org/viewtopic-t-294109.html
>> >>
>> >> That help any?
>> > Nope, this only happens in that specific situation, most things
>> > compile
>> > normally.  I didn't see that post for that reason -- I was looking
>> > for
>> > something more specific.
>>
>> Please provide the so-called config.log to see what happened 
>> (normally
>> located in
>> 
>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp/config.log).
>
> OK, here is a section of config.log -- I hope its not too much.
>
> 
> COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> 
> COLLECT_LTO_WRAPPER=/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/lto-wrapper
> Target: x86_64-pc-linux-gnu
> Configured with:
> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure
> --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3
> --includedir=/u\sr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include
> --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3
> --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man\
> --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info
> 
> --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4
> --host=x86_64-pc-lin\ux-gnu --build=x86_64-pc-linux-gnu
> --disable-altivec --disable-fixed-point --without-ppl --without-cloog
> --disable-lto --enable-nls --without-included-gettext
> \--with-system-zlib --disable-werror --enable-secureplt
> --enable-multilib --enable-libmudflap --disable-libssp 
> --enable-libgomp
> --with-python-dir=/share/gcc-dat\a/x86_64-pc-linux-gnu/4.5.3/python
> --enable-checking=release --disable-libgcj
> --enable-languages=c,c++,fortran --enable-shared 
> --enable-threads=posix
> --enable-\__cxa_atexit --enable-clocale=gnu
> --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 
> 4.5.3-r1
> p1.0, pie-0.4.5'
> Thread model: posix
> gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5)
> configure:3638: $? = 0
> configure:3627:
> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
> -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
> -isystem /usr/x86_64-pc-linux-gnu/include -isystem
> /usr/x86_64-pc-linux-gnu/sys-include    -V >&5
> xgcc: '-V' must come at the start of the command line
> configure:3638: $? = 1
> configure:3627:
> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
> -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
> -isystem /usr/x86_64-pc-linux-gnu/include -isystem
> /usr/x86_64-pc-linux-gnu/sys-include    -qversion >&5
> xgcc: unrecognized option '-qversion'
> xgcc: no input files
> configure:3638: $? = 1
> configure:3658: checking for C compiler default output file name
> configure:3680:
> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
> -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
> -isystem /usr/x86_64-pc-linux-gnu/include -isystem
> /usr/x86_64-pc-linux-gnu/sys-include    -g -O2 -mtune=core2 -pipe\ 
> -ggdb
> conftest.c  >&5
> /usr/lib/../lib64/crt1.o: In function `_start':
> (.text+0x12): undefined reference to `__libc_csu_fini'
> /usr/lib/../lib64/crt1.o: In function `_start':
> (.text+0x19): undefined reference to `__libc_csu_init'
> collect2: ld returned 1 exit status
> configure:3684: $? = 1
> configure:3721: result:
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "GNU OpenMP Runtime Library"
> | #define PACKAGE_TARNAME "libgomp"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL "http://www.gnu.org/software/libgomp/"
> | #define PACKAGE "libgomp"
> | #define VERSION "1.0"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:3727: error: in
> |
> 
> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
> configure:3731: error: C compiler cannot create executables

Looking on Google for "undefined reference to __libc_csu_init" leads to 
several gentoo forum threads which seems to indicate that removing 
/lib/libc.so symlink may solve the problem.

-- 
Blog: http://gentooist.com
Twitter: http://twitter.com/blakawk



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 12:11       ` covici
  2011-09-02 12:20         ` Blakawk
@ 2011-09-02 14:05         ` Dale
  2011-09-02 14:22           ` covici
  1 sibling, 1 reply; 11+ messages in thread
From: Dale @ 2011-09-02 14:05 UTC (permalink / raw
  To: gentoo-user

covici@ccs.covici.com wrote:
> /usr/x86_64-pc-linux-gnu/sys-include    -g -O2 -mtune=core2 -pipe\ -ggdb
> conftest.c>&5

Why is the slash behind pipe up there?  Shouldn't -pipe/ be pipe?

Hope that is the fix.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 14:05         ` Dale
@ 2011-09-02 14:22           ` covici
  0 siblings, 0 replies; 11+ messages in thread
From: covici @ 2011-09-02 14:22 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967@gmail.com> wrote:

> covici@ccs.covici.com wrote:
> > /usr/x86_64-pc-linux-gnu/sys-include    -g -O2 -mtune=core2 -pipe\ -ggdb
> > conftest.c>&5
> 
> Why is the slash behind pipe up there?  Shouldn't -pipe/ be pipe?
> 
> Hope that is the fix.

It looks like an artifact of the config, its not there in make.conf.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] unable to compile gcc 4.5.3-r1
  2011-09-02 12:20         ` Blakawk
@ 2011-09-02 14:46           ` covici
  0 siblings, 0 replies; 11+ messages in thread
From: covici @ 2011-09-02 14:46 UTC (permalink / raw
  To: blakawk; +Cc: gentoo-user

Blakawk <blakawk@gentooist.com> wrote:

> On 02.09.2011 14:11, covici@ccs.covici.com wrote:
> > Blakawk <blakawk@gentooist.com> wrote:
> >
> >> On 02.09.2011 12:16, covici@ccs.covici.com wrote:
> >> > Dale <rdalek1967@gmail.com> wrote:
> >> >
> >> >> covici@ccs.covici.com wrote:
> >> >> > Hi.  I am unable to compile gcc 4.5.3-r1 -- I get the following
> >> >> error
> >> >> > when doing so:
> >> >> >
> >> >> > mkdir -p -- x86_64-pc-linux-gnu/libgomp
> >> >> > Checking multilib configuration for libgomp...
> >> >> > Configuring stage 1 in x86_64-pc-linux-gnu/libgomp
> >> >> > configure: loading site script /usr/share/config.site
> >> >> > configure: loading site script
> >> >> /usr/share/crossdev/include/site/linux
> >> >> > configure: loading site script
> >> >> > /usr/share/crossdev/include/site/x86_64-linux-gnu
> >> >> > configure: creating cache ./config.cache
> >> >> > checking for --enable-version-specific-runtime-libs... no
> >> >> > checking for --enable-generated-files-in-srcdir... no
> >> >> > checking build system type... x86_64-pc-linux-gnu
> >> >> > checking host system type... x86_64-pc-linux-gnu
> >> >> > checking target system type... x86_64-pc-linux-gnu
> >> >> > checking for a BSD-compatible install... /usr/bin/install -c
> >> >> > checking whether build environment is sane... yes
> >> >> > checking for a thread-safe mkdir -p... /bin/mkdir -p
> >> >> > checking for gawk... gawk
> >> >> > checking whether make sets $(MAKE)... yes
> >> >> > checking for
> >> >> >
> >> >>
> >> x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> >> >> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gc\c/
> >> >> > -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
> >> >> -isystem
> >> >> > /usr/x86_64-pc-linux-gnu/include -isystem
> >> >> > /usr/x86_64-pc-linux-gnu/sys-include
> >> >> > checking for C compiler default output file name...
> >> >> > configure: error: in
> >> >> >
> >> >>
> >> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
> >> >> > configure: error: C compiler cannot create executables
> >> >> > See `config.log' for more details.
> >> >> >
> >> >> > I have searched google and looked at bugs.gentoo.org, but no
> >> joy.
> >> >> >
> >> >> > I am running unstable amd64 gentoo.
> >> >> >
> >> >> > Any assistance would be appreciated.
> >> >> >
> >> >>
> >> >> Google worked here for me but usually when I have a problem, it
> >> >> fails.
> >> >> I guess Google treats you the same as me.  lol  I found this:
> >> >>
> >> >> http://forums.gentoo.org/viewtopic-t-294109.html
> >> >>
> >> >> That help any?
> >> > Nope, this only happens in that specific situation, most things
> >> > compile
> >> > normally.  I didn't see that post for that reason -- I was looking
> >> > for
> >> > something more specific.
> >>
> >> Please provide the so-called config.log to see what happened
> >> (normally
> >> located in
> >>
> >> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp/config.log).
> >
> > OK, here is a section of config.log -- I hope its not too much.
> >
> >
> > COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> >
> > COLLECT_LTO_WRAPPER=/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/lto-wrapper
> > Target: x86_64-pc-linux-gnu
> > Configured with:
> > /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure
> > --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3
> > --includedir=/u\sr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include
> > --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3
> > --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man\
> > --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info
> >
> > --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4
> > --host=x86_64-pc-lin\ux-gnu --build=x86_64-pc-linux-gnu
> > --disable-altivec --disable-fixed-point --without-ppl --without-cloog
> > --disable-lto --enable-nls --without-included-gettext
> > \--with-system-zlib --disable-werror --enable-secureplt
> > --enable-multilib --enable-libmudflap --disable-libssp
> > --enable-libgomp
> > --with-python-dir=/share/gcc-dat\a/x86_64-pc-linux-gnu/4.5.3/python
> > --enable-checking=release --disable-libgcj
> > --enable-languages=c,c++,fortran --enable-shared
> > --enable-threads=posix
> > --enable-\__cxa_atexit --enable-clocale=gnu
> > --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo
> > 4.5.3-r1
> > p1.0, pie-0.4.5'
> > Thread model: posix
> > gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5)
> > configure:3638: $? = 0
> > configure:3627:
> > /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
> > -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
> > -isystem /usr/x86_64-pc-linux-gnu/include -isystem
> > /usr/x86_64-pc-linux-gnu/sys-include    -V >&5
> > xgcc: '-V' must come at the start of the command line
> > configure:3638: $? = 1
> > configure:3627:
> > /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
> > -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
> > -isystem /usr/x86_64-pc-linux-gnu/include -isystem
> > /usr/x86_64-pc-linux-gnu/sys-include    -qversion >&5
> > xgcc: unrecognized option '-qversion'
> > xgcc: no input files
> > configure:3638: $? = 1
> > configure:3658: checking for C compiler default output file name
> > configure:3680:
> > /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
> > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
> > -B/usr/x86_64-pc-linu\x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
> > -isystem /usr/x86_64-pc-linux-gnu/include -isystem
> > /usr/x86_64-pc-linux-gnu/sys-include    -g -O2 -mtune=core2 -pipe\
> > -ggdb
> > conftest.c  >&5
> > /usr/lib/../lib64/crt1.o: In function `_start':
> > (.text+0x12): undefined reference to `__libc_csu_fini'
> > /usr/lib/../lib64/crt1.o: In function `_start':
> > (.text+0x19): undefined reference to `__libc_csu_init'
> > collect2: ld returned 1 exit status
> > configure:3684: $? = 1
> > configure:3721: result:
> > configure: failed program was:
> > | /* confdefs.h */
> > | #define PACKAGE_NAME "GNU OpenMP Runtime Library"
> > | #define PACKAGE_TARNAME "libgomp"
> > | #define PACKAGE_VERSION "1.0"
> > | #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
> > | #define PACKAGE_BUGREPORT ""
> > | #define PACKAGE_URL "http://www.gnu.org/software/libgomp/"
> > | #define PACKAGE "libgomp"
> > | #define VERSION "1.0"
> > | /* end confdefs.h.  */
> > |
> > | int
> > | main ()
> > | {
> > |
> > |   ;
> > |   return 0;
> > | }
> > configure:3727: error: in
> > |
> >
> > `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-linux-gnu/libgomp':
> > configure:3731: error: C compiler cannot create executables
> 
> Looking on Google for "undefined reference to __libc_csu_init" leads
> to several gentoo forum threads which seems to indicate that removing
> /lib/libc.so symlink may solve the problem.

Yep, that did it -- thanks so much.  I have software which needs that
link to be there, so I have to put it back in normal use -- I hope I
don't run into strange things like that anymore.

Thanks again.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-09-02 14:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-02  9:53 [gentoo-user] unable to compile gcc 4.5.3-r1 covici
2011-09-02 10:05 ` Dale
2011-09-02 10:16   ` covici
2011-09-02 10:44     ` Blakawk
2011-09-02 12:11       ` covici
2011-09-02 12:20         ` Blakawk
2011-09-02 14:46           ` covici
2011-09-02 14:05         ` Dale
2011-09-02 14:22           ` covici
2011-09-02 11:15     ` Dale
2011-09-02 11:56   ` Pandu Poluan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox