Openssh 5.7p1

Darren Tucker dtucker at zip.com.au
Tue Feb 1 09:52:03 EST 2011


On 1/02/11 9:39 AM, Darren Tucker wrote:
> On 1/02/11 2:59 AM, Spence, Thomas CIV 844 CS/SCOX wrote:
>> This is my FIRST time... I am using GCC 4.3.5 on AIX 5.3... I
>> compiled with openssh but got the error messages. Here is:
>>
>> gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
>> sshconnect1.o sshconnect2.o mux.o roaming_common.o roaming_client.o
>> -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -L/usr/local/lib
>> -Wl,-blibpath:/usr/lib:/lib -lssh -lopenbsd-compat -lcrypto -lz
>> ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 2427) in object
>> clientloop.o:
>> The symbol refers to a csect with symbol number 0, which was not
>> found. The new symbol cannot be associated with a csect and
>> is being ignored.
>
> I've never seen it, but after some digging this seems to be a
> bug/interaction between GCC and the AIX linker:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072
>
> The problem seems to be triggered by static variables without explicit
> initializers.

Reading it a bit more, it seems to only happen on debug builds, so one 
possible workaround would be to disable debug symbols in OpenSSH:

$ CFLAGS="-O2" ../../configure && make

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list