Custom Query (1630 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 1630)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Resolution Summary Owner Reporter
#43 fixed bus error on 64-bit install_name_tool Jim Ursetto
Description

When changing a library name to one that is longer, and the .so file is too short, install_name_tool segfaults. This is rare and I can only reproduce it on a 64-bit build with one or two files. It may be a bug in the tools. The least intrusive change is to add a bit of minimum header padding on 64-bit systems. (Patch attached.) The chosen pad size of 128 is experimentally determined (32 is the minimum that works for me, and I added some fudge). It can be increased if required, at the cost of slightly bigger output files.

make PLATFORM=macosx ARCH=x86-64 NURSERY=1048576 \
  CHICKEN=$HOME/local/chicken-4/bin/chicken \
  PREFIX=$HOME/local.64/chicken-4 install

[...]
install_name_tool -change libchicken.dylib /Users/jim/local.64/chicken-4/lib/libchicken.dylib /Users/jim/local.64/chicken-4/lib/chicken/4/foreign.import.so
install_name_tool -change libchicken.dylib /Users/jim/local.64/chicken-4/lib/libchicken.dylib /Users/jim/local.64/chicken-4/lib/chicken/4/scheme.import.so
install_name_tool -change libchicken.dylib /Users/jim/local.64/chicken-4/lib/libchicken.dylib /Users/jim/local.64/chicken-4/lib/chicken/4/csi.import.so
make[1]: *** [install] Bus error
#44 fixed sync wiki and trunk manuals felix winkelmann felix winkelmann
#45 fixed Prefixed imports from `chicken' module can not refer to buddy syntax felix winkelmann felix winkelmann
Description

(reported by Jack Trades)

Doing

(module foo ()
  (import scheme (prefix chicken c:))
  (c:define-values (a b c) (values 1 2 3)))

fails, because define-values doesn't know about set!-values (it's SE is empty).

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.