[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] gcc version 4.1.1 and condor 6.8.5



Hi

I've been compiling with gcc 3.4 and 4.1. For c++, on both cases I had
to explicitly include the standard c++ libraries in the link command,
or condor_compile would fail. (you might try that, Jeff).

It seems the condor binaries are linked with libc5 (or whatever, the
libc that comes with gcc-3.3), so apparently standard universe
programs do strange things with gcc-4.x. My programs mostly run, but
every now and then they stop for no reason, or go on forever without
ever finishing.

I hope binaries with the newest libc will be distributed soon, I
really can't use gcc-3.3

Cheers,

Tomas


On 6/8/07, Simon Hammond <simon.hammond@xxxxxxxxx> wrote:
Hi,


>
>
> condor_compile gcc -o simple.std greetings.c.
>
> From the link error I am getting, found below, I believe I am missing
either a library or linking in a library that is not compatible.
>
> Would you think it is the link library of the version of the compiler?

We have had to use 3.3 and 3.4 libraries to get anything to compile and
link, even trying to use gcc 4 with other libraries didn't work well despite
many attempts to force it!

Some applications did compile but when they ran they just didn't do anything
- the linking had worked but the applications never seemed to complete or
produce output.

In the end we had to get a clean box and put 3.3 and 3.4 on it and use that.
It works very well now and runs quite a lot of stuff happily. Our major
concern was getting Octave to run, this is a fairly big program so maybe
other compilers will work for smaller/alternative stuff.

>
>
> Thank you for your time.
>
> Jeff
>
>
> ----- Original Message -----
> From: Simon Hammond
> To: Condor-Users Mail List
> Sent: Friday, June 08, 2007 5:01 AM
> Subject: Re: [Condor-users] gcc version 4.1.1 and condor 6.8.5
>
> Hi,
>
> GCC is compatible but I'm sure that version 4 is. In the compilations that
we've done we've had to use gcc 3.3, g++ 3.3 and g77 3.4. So that might not
help you - I assume you are trying to compile for the standard universe?
>
>
> Si Hammond
> Univ. of Warwick
>
>
>
> On 08/06/07, Jeffrey Wells <jwells2@xxxxxxxxxxxx> wrote:
> >
> >
> > Hi Group;
> >
> > I have just installed Condor 6.8.5. on a Fedora Core 6 Linux machine as
a central manager.  The vanilla and java universe jobs were great!
> >
> > I am trying to compile a C file using condor_compile and I am getting a
linking error below.
> >
> > The compiler is gcc version 4.1.1 20061011 (Red Hat 4.1.1-30).
> >
> > The question I have is whether the gcc compiler is compatible with the
condor_compile link libraries.  If not, is there a rpm update?  I checked
the documentation and could not find the answer nor did Google.
> >
> > Thank you for your time.
> >
> > Jeff
> >
> > [wells@stengal ~]$ condor_compile gcc -o simple.std greetings.c
> > LINKING FOR CONDOR : /usr/bin/ld -L/usr/local/condor/lib -Bstatic
--eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker
/lib/ld-linux.so.2 -o simple.std
/usr/local/condor/lib/condor_rt0.o
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../crti.o
/usr/lib/gcc/i386-redhat-linux/4.1.1/crtbegin.o
-L/usr/local/condor/lib
-L/usr/lib/gcc/i386-redhat-linux/4.1.1
-L/usr/lib/gcc/i386-redhat-linux/4.1.1
-L/usr/lib/gcc/i386-redhat-linux/4.1.1/../../..
/tmp/ccUFoCPI.o /usr/local/condor/lib/libcondorzsyscall.a
/usr/local/condor/lib/libcondor_z.a -lgcc --as-needed
--no-as-needed -lcondor_c -lcondor_nss_files -lcondor_nss_dns
-lcondor_resolv -lcondor_c -lcondor_nss_files -lcondor_nss_dns
-lcondor_resolv -lcondor_c -lgcc --as-needed --no-as-needed
/usr/lib/gcc/i386-redhat-linux/4.1.1/crtend.o
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../crtn.o
/usr/local/condor/lib/libcondorc++support.a
> >
/usr/local/condor/lib/libcondorzsyscall.a(condor_file_agent.o):
In function `CondorFileAgent::open(char const *, int, int)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_ckpt/condor_file_agent.C:99:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> > /usr/local/condor/lib/libcondorzsyscall.a(zimage.o): In
function `Image::SetFileName(char *)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_ckpt/image.C:320:
undefined reference to `__builtin_vec_delete'
> >
/home/condor/execute/dir_20284/userdir/src/condor_ckpt/image.C:323:
undefined reference to `__builtin_vec_new'
> >
/usr/local/condor/lib/libcondorzsyscall.a(file_state.o): In
function `CondorFileTable::init(void)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_ckpt/file_state.C:168:
undefined reference to `__builtin_vec_new'
> >
/usr/local/condor/lib/libcondorzsyscall.a(condor_file_buffer.o):
In function `CondorChunk::~CondorChunk(void)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_ckpt/condor_file_buffer.C:(.CondorChunk::gnu.linkonce.t.(int,
int, int)+0x33): undefined reference to `__builtin_vec_new'
> >
/home/condor/execute/dir_20284/userdir/src/condor_ckpt/condor_file_buffer.C:(.gnu.linkonce.t._._11CondorChunk+0x19):
undefined reference to `__builtin_vec_delete'
> > /usr/local/condor/lib/libcondorzsyscall.a(sock.o): In
function `Sock::serializeCryptoInfo(void) const':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/sock.C:1310:
undefined reference to `__builtin_vec_new'
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/sock.C:1320:
undefined reference to `__builtin_vec_new'
> > /usr/local/condor/lib/libcondorzsyscall.a(sock.o): In
function `Sock::serializeMdInfo(void) const':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/sock.C:1341:
undefined reference to `__builtin_vec_new'
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/sock.C:1351:
undefined reference to `__builtin_vec_new'
> > /usr/local/condor/lib/libcondorzsyscall.a(sock.o): In
function `Sock::serialize(void) const':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/sock.C:1462:
undefined reference to `__builtin_vec_new'
> > /usr/local/condor/lib/libcondorzsyscall.a(reli_sock.o):
In function `ReliSock::ReliSock(ReliSock const &)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/reli_sock.C:82:
undefined reference to `__builtin_vec_delete'
> > /usr/local/condor/lib/libcondorzsyscall.a(reli_sock.o):
In function `ReliSock::serialize(void) const':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/reli_sock.C:1118:
undefined reference to `__builtin_vec_new'
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/reli_sock.C:1148:
undefined reference to `__builtin_vec_delete'
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/reli_sock.C:1149:
undefined reference to `__builtin_vec_delete'
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/reli_sock.C:1150:
undefined reference to `__builtin_vec_delete'
> > /usr/local/condor/lib/libcondorzsyscall.a(buffers.o):
In function `Buf::Buf(int)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/buffers.C:50:
undefined reference to `__builtin_vec_new'
> > /usr/local/condor/lib/libcondorzsyscall.a(buffers.o):
In function `Buf::~Buf(void)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/buffers.C:62:
undefined reference to `__builtin_vec_delete'
> > /usr/local/condor/lib/libcondorzsyscall.a(buffers.o):
In function `ChainBuf::reset(void)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/buffers.C:261:
undefined reference to `__builtin_vec_delete'
> > /usr/local/condor/lib/libcondorzsyscall.a(buffers.o):
In function `ChainBuf::put(Buf *)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/buffers.C:302:
undefined reference to `__builtin_vec_delete'
> > /usr/local/condor/lib/libcondorzsyscall.a(buffers.o):
In function `ChainBuf::get_tmp(void *&, char)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/buffers.C:327:
undefined reference to `__builtin_vec_delete'
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/buffers.C:350:
undefined reference to `__builtin_vec_new'
> > /usr/local/condor/lib/libcondorzsyscall.a(buffers.o):
In function `ChainBuf::peek(char &)':
> >
/home/condor/execute/dir_20284/userdir/src/condor_io/buffers.C:365:
undefined reference to `__builtin_vec_delete'
> > collect2: ld returned 1 exit status
> > [wells@stengal ~]$ gcc -v
> > Using built-in specs.
> > Target: i386-redhat-linux
> > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=i386-redhat-linux
> > Thread model: posix
> > gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)
> >
> > _______________________________________________
> > Condor-users mailing list
> > To unsubscribe, send a message to
condor-users-request@xxxxxxxxxxx with a
> > subject: Unsubscribe
> > You can also unsubscribe by visiting
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >
> > The archives can be found at:
> > https://lists.cs.wisc.edu/archive/condor-users/
> >
> >
>
>
>
> ________________________________

>
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to
condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
>
>
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to
condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
>


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to
condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/