Bug#960467: gcl showing "personality failure 1" then exit

2020-05-12 Thread Gong-Yi Liao
Package: gcl
Version: 2.6.12-95
Severity: important

Dear Maintainer,

When I ran "gcl" command at shell prompt, I just got a strange
message "personality failure 1" then gcl exited without any 
useful information, not sure if it's a feature that prevent 
anyone to use it or it's serious bug turn gcl totally useless. 


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.11-300.fc32.x86_64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages gcl depends on:
ii  debconf   1.5.74
ii  emacs-gtk [emacsen]   1:26.3+1-1
ii  emacs-snapshot [emacsen]  2:20200510+emacs-27.0.91-860-g9d8fc3a5980-1
ii  gcc   4:9.2.1-3.1
ii  libc6 2.30-8
ii  libgmp10  2:6.2.0+dfsg-4
ii  libreadline8  8.0-4
ii  libtcl8.6 8.6.10+dfsg-1
ii  libtk8.6  8.6.10-1
ii  libx11-6  2:1.6.9-2+b1
ii  ucf   3.0039

gcl recommends no packages.

Versions of packages gcl suggests:
pn  gcl-doc  

-- debconf information:
  gcl/default_gcl_prof:
  gcl/default_gcl_ansi:



Bug#954898: libgccjit0: the issue remains in 10-20200418-1

2020-04-19 Thread Gong-Yi Liao
Package: libgccjit0
Version: 10-20200418-1
Followup-For: Bug #954898

Dear Maintainer,

This issue still exists in 10-20200418-1

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgccjit0 depends on:
ii  binutils   2.34-6
ii  gcc-10-base10-20200418-1
ii  libc6  2.30-4
ii  libgcc-10-dev  10-20200418-1
ii  libgmp10   2:6.2.0+dfsg-4
ii  libisl22   0.22.1-1
ii  libmpc31.1.0-1
ii  libmpfr6   4.0.2-1
ii  libzstd1   1.4.4+dfsg-3
ii  zlib1g 1:1.2.11.dfsg-2

libgccjit0 recommends no packages.

libgccjit0 suggests no packages.

-- no debconf information



Bug#954989: libgccjit0: Segementation fault issues remains for 10-20200410-1

2020-04-12 Thread Gong-Yi Liao
Package: libgccjit0
Version: 10-20200410-1
Followup-For: Bug #954989

Dear Maintainer,

The segmentation fault error remains in 10-20200410-1, while the one compiled 
from upstream master branch does not have this issue. Also, the corresponding 
package in Fedora Rawhide (libgccjit-10.0.1-0..11fc33) does not have this 
segmentation fault issue as well. 

Thanks, 
Gong-Yi.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgccjit0 depends on:
ii  binutils   2.34-6
ii  gcc-10-base10-20200410-1
ii  libc6  2.30-4
ii  libgcc-10-dev  10-20200410-1
ii  libgmp10   2:6.2.0+dfsg-4
ii  libisl22   0.22.1-1
ii  libmpc31.1.0-1
ii  libmpfr6   4.0.2-1
ii  libzstd1   1.4.4+dfsg-3
ii  zlib1g 1:1.2.11.dfsg-2

libgccjit0 recommends no packages.

libgccjit0 suggests no packages.

-- no debconf information



Bug#954898: libgccjit0: libgccjit segmentation fault

2020-03-24 Thread Gong-Yi Liao
Package: libgccjit0
Version: 10-20200324-1
Severity: important

Dear Maintainer,

I tried to complie GCC JIT's offiical hello world example shown on 

https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html

Compilation worked well without any error message, however, when I ran the 
generated binary, it shows a segmentation fault, gdb output suggests it's 
caused by libgccjit:

gong-yi@sid0 ~> gdb ./test2
GNU gdb (Debian 9.1-2) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./test2...
(No debugging symbols found in ./test2)
(gdb) start
Temporary breakpoint 1 at 0x13c3
Starting program: /home/gong-yi/test2 

Temporary breakpoint 1, 0x53c3 in main ()
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x775829f3 in ?? () from /usr/lib/x86_64-linux-gnu/libgccjit.so.0
(gdb) continue
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

Thanks, 
Gong-Yi. 


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgccjit0 depends on:
ii  binutils   2.34-5
ii  gcc-10-base10-20200324-1
ii  libc6  2.30-2
ii  libgcc-10-dev  10-20200324-1
ii  libgmp10   2:6.2.0+dfsg-4
ii  libisl22   0.22.1-1
ii  libmpc31.1.0-1
ii  libmpfr6   4.0.2-1
ii  libzstd1   1.4.4+dfsg-3
ii  zlib1g 1:1.2.11.dfsg-2

libgccjit0 recommends no packages.

libgccjit0 suggests no packages.

-- no debconf information



Bug#954438: libgccjit0: GCCJIT leads to linking error

2020-03-21 Thread Gong-Yi Liao
Package: libgccjit0
Version: 10-20200312-2
Severity: important

Dear Maintainer,

libgccjit0 leads to linking error, I have the following C source code: 

#include 
#include 
#include 

int main(int argc, char **argv) {
gcc_jit_context *ctxt;
ctxt = gcc_jit_context_acquire();
gcc_jit_rvalue *args[2]; 
printf("%5.8lf\n", sin(30)); 
return 0;
}


and I compiled it using the following command line:

gcc-10 test.c -o test -lgccjit

or 

gcc-10 test.c -lgccjit -o test 

leads to the same error message:

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/libgccjit.so: undefined reference 
to `lang_register_spec_functions()'
collect2: error: ld returned 1 exit status

However, exactly the same gcc and gccjit version on Fedora Rawhide work as 
intened. 

It seems a gccjit issue rather than a ld issue. 

Thanks, 
Gong-Yi. 



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgccjit0 depends on:
ii  binutils   2.34-5
ii  gcc-10-base10-20200312-2
ii  libc6  2.30-2
ii  libgcc-10-dev  10-20200312-2
ii  libgmp10   2:6.2.0+dfsg-4
ii  libisl22   0.22.1-1
ii  libmpc31.1.0-1
ii  libmpfr6   4.0.2-1
ii  libzstd1   1.4.4+dfsg-3
ii  zlib1g 1:1.2.11.dfsg-2

libgccjit0 recommends no packages.

libgccjit0 suggests no packages.

-- no debconf information



Bug#902475: gcl: GCL fails to load .o files it generates

2018-06-26 Thread Gong-Yi Liao
Package: gcl
Version: 2.6.12-76
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * GCL fails to load .o file it compiles/generates
   * Create a lisp file, say hw3.lisp, with content as '(print "test")'
   * Compile this lisp file with '(compile-file "hw3.lisp")'
   * Load the "hw3.o" file generated by GCL using '(load "hw3.o")'
   * GCL shows the following error message:
   ;; Loading "hw3.o"
   Unknown reloc type 4
  
  Error: 
  Fast links are on: do (si::use-fast-links nil) for debugging
  Signalled by LOAD.
  Condition in LOAD [or a callee]: INTERNAL-SIMPLE-ERROR: The assertion 
!emsg("Unknown reloc type %lu\n", tp) on line 186 of sfaslelf.c in function 
relocate failed: Success
  
  Broken at LOAD.  Type :H for Help.
  1  Return to top level. 

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcl depends on:
ii  debconf 1.5.67
ii  emacs-snapshot-lucid [emacsen]  2:20180619+emacs-26.1-2309-g3057260b476-1
ii  gcc 4:8-20180425-2
ii  libc6   2.27-3
ii  libgmp102:6.1.2+dfsg-3
ii  libreadline77.0-5
ii  libtcl8.6   8.6.8+dfsg-4
ii  libtk8.68.6.8-4
ii  libx11-62:1.6.5-1
ii  ucf 3.0038

gcl recommends no packages.

Versions of packages gcl suggests:
ii  gcl-doc  2.6.12-76

-- debconf information:
  gcl/default_gcl_ansi:
  gcl/default_gcl_prof: