Subject: libtool problem with nessus on macppc
To: None <>
From: Emmanuel Dreyfus <>
List: tech-pkg
Date: 02/18/2001 19:12:31

I'm not familiar enough with libtool to give you a patch for that one...

gmake[1]: Entering directory
/usr/bin/m4 -DPIC -DOPERATION_add_n add_n.asm >tmp-add_n.s
/bin/sh ../libtool --mode=compile cc -pipe -c -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -DOPERATION_add_n   tmp-add_n.s -o add_n.lo
rm -f .libs/add_n.lo
cc -pipe -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_add_n
tmp-add_n.s  -fPIC -DPIC -o .libs/add_n.lo
tmp-add_n.s: Assembler messages:
tmp-add_n.s:0: Warning: end of file not at end of a line; newline
tmp-add_n.s:68: Error: Rest of line ignored. First ignored character
valued 0xff.

Here is tmp-add_n.s. It has dozens of heading empty lines, and a 0xff at
the end of the file:
        .align  2
        .globl  __gmpn_add_n
        .type   __gmpn_add_n,@function
        mtctr   6
        addic   0,0,0
        lwz     8,0(4)
        lwz     0,0(5)
        addi    3,3,-4
        bdz     .Lend
.Loop:  lwz     9,4(4)
        lwz     10,4(5)
        adde    7,0,8
        stw     7,4(3)
        bdz     .Lexit
        lwzu    8,8(4)
        lwzu    0,8(5)
        adde    7,10,9
        stwu    7,8(3)
        bdnz    .Loop

.Lend:  adde    7,0,8
        stw     7,4(3)
        li      3,0
        addze   3,3
.Lexit: adde    7,10,9
        stw     7,8(3)
        li      3,0
        addze   3,3

        .size   __gmpn_add_n,.-__gmpn_add_n

Emmanuel Dreyfus.
"Le 80x86 n'est pas si complexe - il n'a simplement pas de sens"
(Mike Johnson, responsable de la conception x86 chez AMD)