This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: GCC 4.3.2 installation on Linux


Hi Anand

Ok will do that. In the meanwhile, I tried what Eljay had suggested.
Created a build directory which is different from the gcc source
directory and then created the Makefiles and config in that directory
and did a compile. This worked. I will try to the below site and check
it out. I will let you know how this goes soon.

I will send the spinlock code as soon as I am able to get this gcc4.3.2
issue sorted out and compile my product with it and see if this gives
any spin lock issues. Andrew Haley had said earlier to try and by pass
4.2.x and try 4.3.x. So giving this a shot now.

Thanks and Regards

Vardhan 

-----Original Message-----
From: Anandkumar, CB IN BLR SISL [mailto:anand.cb@siemens.com] 
Sent: Monday, November 10, 2008 11:20 PM
To: Vardhan, Sundara (GE Infra, Energy); gcc ML
Subject: RE: GCC 4.3.2 installation on Linux


 Hi Vardhan, 
	Why don't you try using kegel toolchain build scripts for
building native toolchain. Please refer to the site
"http://www.kegel.com/crosstool/"; .

With regards,
Anandkumar.C.B

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Vardhan, Sundara (GE Infra, Energy)
Sent: Monday, November 10, 2008 7:34 PM
To: gcc ML
Subject: GCC 4.3.2 installation on Linux

Hi All

I have issues when trying to compile GCC 4.3.2 on Linux. The following
are details 

./configure --prefix=/usr/local --enable-threads=posix
--with-mpfr=/usr/local --with-gmp=/usr/local
--enable-languages=c,c++,fortran --disable-multilibs

I get the following errors

.libs/compile_options.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:123: multiple definition of `feof_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:123: first defined here
.libs/compile_options.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:130: multiple definition of `ferror_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:130: first defined here
.libs/compile_options.o: In function `__signbitf':
/usr/include/bits/mathinline.h:38: multiple definition of `__signbitf'
.libs/backtrace.o:/usr/include/bits/mathinline.h:38: first defined here
.libs/compile_options.o: In function `__signbit':
/usr/include/bits/mathinline.h:44: multiple definition of `__signbit'
.libs/backtrace.o:/usr/include/bits/mathinline.h:44: first defined here
.libs/compile_options.o: In function `__signbitl':
/usr/include/bits/mathinline.h:50: multiple definition of `__signbitl'
.libs/backtrace.o:/usr/include/bits/mathinline.h:50: first defined here
.libs/compile_options.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:43: first defined here
.libs/compile_options.o: In function
`gnu_dev_minor':/usr/include/sys/sysmacros.h:49: multiple definition of
`gnu_dev_minor'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:49: first defined here
.libs/compile_options.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of
`gnu_dev_makedev'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:55: first defined here
.libs/compile_options.o: In function `__sigismember':
/usr/include/bits/sigset.h:117: multiple definition of `__sigismember'
.libs/backtrace.o:/usr/include/bits/sigset.h:117: first defined here
.libs/compile_options.o: In function `__sigaddset':
/usr/include/bits/sigset.h:118: multiple definition of `__sigaddset'
.libs/backtrace.o:/usr/include/bits/sigset.h:118: first defined here
.libs/compile_options.o: In function `__sigdelset':
/usr/include/bits/sigset.h:119: multiple definition of `__sigdelset'
.libs/backtrace.o:/usr/include/bits/sigset.h:119: first defined here
.libs/compile_options.o: In function `getline':
/usr/include/bits/stdio.h:113: multiple definition of `getline'
.libs/backtrace.o:/usr/include/bits/stdio.h:113: first defined here
.libs/compile_options.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:104: multiple definition of `putchar_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:104: first defined here
.libs/compile_options.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:97: multiple definition of `putc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:97: first defined here
.libs/compile_options.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:87: multiple definition of `fputc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:87: first defined here
.libs/compile_options.o: In function `putchar':
/usr/include/bits/stdio.h:78: multiple definition of `putchar'
.libs/backtrace.o:/usr/include/bits/stdio.h:78: first defined here
.libs/compile_options.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:69: multiple definition of `getchar_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:69: first defined here
.libs/compile_options.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:62: multiple definition of `getc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:62: first defined here
.libs/compile_options.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:52: multiple definition of `fgetc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:52: first
define.libs/compile_options.o: In function `getchar':
/usr/include/bits/stdio.h:43: multiple definition of `getchar'
.libs/backtrace.o:/usr/include/bits/stdio.h:43: first defined here
.libs/compile_options.o: In function `vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
.libs/backtrace.o:/usr/include/bits/stdio.h:36: first defined here
.libs/environ.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:123: multiple definition of `feof_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:123: first defined here
.libs/environ.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:130: multiple definition of `ferror_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:130: first defined here
.libs/environ.o: In function `__signbitf':
/usr/include/bits/mathinline.h:38: multiple definition of `__signbitf'
.libs/backtrace.o:/usr/include/bits/mathinline.h:38: first defined here
.libs/environ.o: In function `__signbit':
/usr/include/bits/mathinline.h:44: multiple definition of `__signbit'
.libs/backtrace.o:/usr/include/bits/mathinline.h:44: first defined here
.libs/environ.o: In function `__signbitl':
/usr/include/bits/mathinline.h:50: multiple definition of `__signbitl'
.libs/backtrace.o:/usr/include/bits/mathinline.h:50: first defined here
.libs/environ.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:43: first defined here
.libs/environ.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:49: first defined here
.libs/environ.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of
`gnu_dev_makedev'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:55: first defined here
.libs/environ.o: In function `__strcspn_c1':
/usr/include/bits/string2.h:974: multiple definition of `__strcspn_c1'
.libs/backtrace.o:/usr/include/bits/string2.h:974: first defined here
.libs/environ.o: In function `__strcspn_c2':
/usr/include/bits/string2.h:985: multiple definition of `__strcspn_c2'
.libs/backtrace.o:/usr/include/bits/string2.h:985: first defined here
.libs/environ.o: In function `__strcspn_c3':
/usr/include/bits/string2.h:998: multiple definition of `__strcspn_c3'
............................................................

collect2: ld returned 1 exit status
make[3]: *** [libgfortran.la] Error 1
make[3]: Leaving directory
`/cots/gnu/gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/cots/gnu/gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/cots/gnu/gcc-4.3.2'
make: *** [all] Error 2

I am using  Linux 2.6.18-53.el5 #1 SMP machine and using gcc 4.3.1 to
compile.

I would very much appreciate your help and advice.

With Regards

Vardhan




 
 
Important notice:This e-mail and any attachment thereto contains
corporate proprietary information. If you have received it by mistake,
please notify us immediately by reply e-mail and delete this e-mail and
its attachments from your system. Thank You.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]