This is the mail archive of the gcc@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]

Compiling ssh-1.1.26 w/ egcs-1.1.2


Title: Compiling ssh-1.1.26 w/ egcs-1.1.2

I hope I'm including enough info here.. I suspect I should send in a bug report, but as I'm at home I don't have the info necessary (where to send, etc)..

I just compiled egcs on my AIX 4.3.0.0 RS6000..

# uname -a
AIX siademo 3 4 00087944A600
# oslevel
4.3.0.0
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.0.0/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

my configure command was simply ./configure --prefix=/usr/local

The compilation yields:
[ deleted previous successes for brevity ]
        gcc -DPACKAGE=\"gmp\" -DVERSION=\"2.0.2-ssh-2\" -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DSIZEOF_INT=4 -DHAVE_ALLOCA=1  -I. -I.  -I.. -I./..  -g -O2  -c cmp.c

        gcc -DPACKAGE=\"gmp\" -DVERSION=\"2.0.2-ssh-2\" -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DSIZEOF_INT=4 -DHAVE_ALLOCA=1  -I. -I.  -I.. -I./..  -g -O2  -c divmod_1.c

divmod_1.c: In function `__mpn_divmod_1':
divmod_1.c:208: fixed or forbidden register 64 (mq) was spilled for class MQ_REGS.
This may be due to a compiler bug or to impossible asm
statements or clauses.
make: 1254-004 The error code from the last command is 1.


Also, since I'm posting, I saw this many times...
        gcc -pipe -c -I.  -I./gmp-2.0.2-ssh-2 -I./zlib-1.0.4 -DHAVE_CONFIG_H  -D
HOST_KEY_FILE=\"/etc/ssh_host_key\" -DHOST_CONFIG_FILE=\"/etc/ssh_config\" -DSERVER_CONFIG_FILE=\"/etc/sshd_config\" -DSSH_PROGRAM=\"/usr/local/bin/ssh1\" -DETCDIR=\"/etc\" -DPIDDIR=\"/etc\" -DSSH_BINDIR=\"/usr/local/bin\" -DTIS_MAP_FILE=\"/etc/sshd_tis.map\" -g -O2  ssh.c

In file included from includes.h:249,
                 from ssh.c:187:
/usr/include/arpa/inet.h:152: warning: `struct ether_addr' declared inside parameter list
/usr/include/arpa/inet.h:152: warning: its scope is only this definition or declaration,
/usr/include/arpa/inet.h:152: warning: which is probably not what you want.
/usr/include/arpa/inet.h:153: warning: `struct ether_addr' declared inside parameter list
/usr/include/arpa/inet.h:154: warning: `struct ether_addr' declared inside parameter list
/usr/include/arpa/inet.h:159: warning: `struct sockaddr_dl' declared inside parameter list
/usr/include/arpa/inet.h:160: warning: `struct sockaddr_dl' declared inside parameter list
/usr/include/arpa/inet.h:161: warning: `struct sockaddr_dl' declared inside parameter list


Should fixincludes have caught this?

As I'm not a compiler expert, I can't help solve this, but I hope that I've provided enough info for this to be useful.

Tony Nelson
Transaction Information Systems



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