Custom Query (1630 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 1630)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#62 fixed abs() argument truncated on 64-bit Jim Ursetto
Description

Reported by Alejandro:

In Chicken 3.4.0 linux-unix-gnu-x86-64 the expression (abs 2147483648) evaluates to -2147483648 in both csi and a compiled program (negative? and positive?, however, seem to work correctly). It evaluated correctly in a 32-bits build of the same version.

Using labs() instead of abs() should fix the issue

#69 fixed chicken-install does not stop on error Jim Ursetto
Description

After a compilation error chicken-install will continue to execute and attempt to install the extension anyway.

For example, install the readline egg without any readline library installed at all:

  /home/jim/local/chicken-4/bin/csc -feature compiling-extension   -s -O2 readline.scm -lreadline -lhistory -ltermcap
Error: shell command terminated with non-zero exit status 256:
 gcc readline.c -o readline.o -c -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -Os \
  -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/home/jim/local/chicken-4/include

  /home/jim/local/chicken-4/bin/csc -feature compiling-extension   -c -O2 -d0 -j readline \
   readline.scm -o readline-static.o -unit readline -lreadline -lhistory -ltermcap
Error: shell command terminated with non-zero exit status 256:
 gcc readline-static.c -o readline-static.o -c -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H \
  -Os -fomit-frame-pointer -I/home/jim/local/chicken-4/include

  /home/jim/local/chicken-4/bin/csc -feature compiling-extension   -s -O2 -d0 readline.import.scm

  rm -fr /home/jim/local/chicken-4/lib/chicken/4/readline.so
Error: file does not exist: "readline.so"
Error: shell command terminated with nonzero exit code 17920

It probably also prevents the correct analysis of which libraries are on the system, which was reported by Sam Varner, because a failing compile will "succeed" from the caller's perspective.

Wild guess, this could have to do with improper parsing of exit status 256 (which happens to be 0 mod 256). Actual investigation is needed.

#75 fixed "ref" foreign argument type does not work Jim Ursetto
Description

Bug reported by Nicholas "Indy" Ray. "ref" foreign argument type results in illegal type error. Attached patch to c-backend should fix the problem.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.