[27281] in Kerberos
RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3
daemon@ATHENA.MIT.EDU (Lamar.Saxon@americredit.com)
Mon Jan 29 12:41:26 2007
content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 29 Jan 2007 11:03:00 -0600
Message-ID: <AEB8680BAC85B845AC8B5E2556F84E03FC2270@srvexcharl02.acf.americredit.com>
From: <Lamar.Saxon@americredit.com>
To: <raeburn@mit.edu>
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
The compile likes GNU ld and GCC even worse. I move the ld link to
force the use of the GNU linker. Here is the latest output using GCC
4.0.1 and ld 2.16.
+ gcc -shared -v -o libkrb5support.so.0.1 threads.o init-addrinfo.o
plugins.o errors.o gmt_mktime.o fake-addrinfo.
o -nostartfiles -Xlinker -bgcbypass:1 -Xlinker -bfilelist -Xlinker
-bM:SRE -Xlinker -bE:./libkrb5support.exports -
Xlinker -bernotok -Xlinker -brtl -lpthreads -lc
-Wl,-binitfini::krb5int_thread_support_fini:2
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../gcc-4.1.1/configure --disable-nls
Thread model: aix
gcc version 4.1.1
/usr/local/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/collect2
-bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsec
t -bM:SRE -bnoentry -o libkrb5support.so.0.1
-L/usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1 -L/usr/local/lib/gc
c/powerpc-ibm-aix5.3.0.0/4.1.1/../../.. threads.o init-addrinfo.o
plugins.o errors.o gmt_mktime.o fake-addrinfo.o
-bgcbypass:1 -bfilelist -bM:SRE -bE:./libkrb5support.exports -bernotok
-brtl -lpthreads -lc -binitfini::krb5int_th
read_support_fini:2 -lgcc_s -lc -lgcc_s
/usr/local/bin/ld: -static and -shared may not be used together
collect2: ld returned 1 exit status
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
Again, any and all help appreciated...
Lamar
-----Original Message-----
From: Ken Raeburn [mailto:raeburn@MIT.EDU]
Sent: Friday, January 26, 2007 3:39 PM
To: Saxon, Lamar
Cc: rra@stanford.edu; kerberos@mit.edu
Subject: Re: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3
On Jan 26, 2007, at 14:39, <Lamar.Saxon@americredit.com> wrote:
> Thanks. The problem also exist using GNU ld on AIX too. See below:
I'm pretty sure that style of error message is not coming from the
GNU linker. Your compiler is probably not following $PATH to find
the linker.
Ken
Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos