#488 [arm] ariarm.s:1343: Error: bad instruction `replaced by...`

build problems
closed-fixed
Sam Steingold
clisp (525)
5
2008-07-15
2008-07-15
Luca Capello
No

This was submitted in the Debian BTS for version 2.44.1:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490944

=====
Automatic build of clisp_1:2.44.1-2 on cats by sbuild/arm 98
Build started at 20080709-2104
******************************************************************************
Checking available source versions...
Fetching source files...
Reading package lists...
Building dependency tree...
[...]
gcc -g -O2 -Igllib -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type \ -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -c built.c
gcc -E ariarm.c | grep -v '^#' > ariarm.s
gcc -g -O2 -Igllib -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type \ -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -x assembler -c ariarm.s
ariarm.s: Assembler messages:
ariarm.s:1: Warning: ignoring attempt to redefine built-in register 'a1'
ariarm.s:2: Warning: ignoring attempt to redefine built-in register 'a2'
ariarm.s:3: Warning: ignoring attempt to redefine built-in register 'a3'
ariarm.s:4: Warning: ignoring attempt to redefine built-in register 'a4'
ariarm.s:5: Warning: ignoring attempt to redefine built-in register 'v1'
ariarm.s:6: Warning: ignoring attempt to redefine built-in register 'v2'
ariarm.s:7: Warning: ignoring attempt to redefine built-in register 'v3'
ariarm.s:8: Warning: ignoring attempt to redefine built-in register 'v4'
ariarm.s:9: Warning: ignoring attempt to redefine built-in register 'v5'
ariarm.s:10: Warning: ignoring attempt to redefine built-in register 'v6'
ariarm.s:12: Warning: ignoring attempt to redefine built-in register 'sl'
ariarm.s:13: Warning: ignoring attempt to redefine built-in register 'fp'
ariarm.s:14: Warning: ignoring attempt to redefine built-in register 'ip'
ariarm.s:15: Warning: ignoring attempt to redefine built-in register 'sp'
ariarm.s:16: Warning: ignoring attempt to redefine built-in register 'lr'
ariarm.s:17: Warning: ignoring attempt to redefine built-in register 'pc'
ariarm.s:152: Warning: s suffix on comparison instruction is deprecated
ariarm.s:1027: Warning: s suffix on comparison instruction is deprecated
ariarm.s:1032: Warning: s suffix on comparison instruction is deprecated
ariarm.s:1343: Error: bad instruction `replaced by multiplication of a small x=a1 and a big y=ip:*/'
make[1]: *** [ariarm.o] Error 1
make[1]: Leaving directory `/build/buildd/clisp-2.44.1/debian/build'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20080709-2154
=====

Discussion

  • Sam Steingold
    Sam Steingold
    2008-07-15

    Logged In: YES
    user_id=5735
    Originator: NO

    "gcc -g -O2" is double-plus-ungood.
    see "Additional Information for Maintainers of Binary Packages" in clisp/unix/INSTALL

     
  • Sam Steingold
    Sam Steingold
    2008-07-15

    Logged In: YES
    user_id=5735
    Originator: NO

    this bug has been fixed in clisp 2.45
    patch is attached
    File Added: ariarm.diff

     
  • Sam Steingold
    Sam Steingold
    2008-07-15

    src/ariarm.d diff

     
    Attachments
  • Sam Steingold
    Sam Steingold
    2008-07-15

    Logged In: YES
    user_id=5735
    Originator: NO

    thank you for your bug report.
    the bug has been fixed in the CVS tree.
    you can either wait for the next release (recommended)
    or check out the current CVS tree (see http://clisp.cons.org\)
    and build CLISP from the sources (be advised that between
    releases the CVS tree is very unstable and may not even build
    on your platform).

     
  • Sam Steingold
    Sam Steingold
    2008-07-15

    • assigned_to: haible --> sds
    • status: open --> closed-fixed