Bug#954438: marked as done (libgccjit0: GCCJIT leads to linking error)

2020-03-24 Thread Debian Bug Tracking System
Your message dated Tue, 24 Mar 2020 13:06:09 +
with message-id 
and subject line Bug#954438: fixed in gcc-10 10-20200324-1
has caused the Debian Bug report #954438,
regarding libgccjit0: GCCJIT leads to linking error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
954438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954438
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Source: gcc-10
Source-Version: 10-20200324-1
Done: Matthias Klose 

We believe that the bug you reported is fixed in the latest version of
gcc-10, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 954...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose  (supplier of updated gcc-10 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 24 Mar 2020 13:38:16 +0100
Source: gcc-10
Architecture: source
Version: 10-20200324-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Closes: 954438 954751
Changes:
 gcc-10 (10-20200324-1) unstable; urgency=medium
 .
   * GCC snapshot, taken from the trunk (20200324, 906b3eb9df6).
   * libgcc-N-dev: Include sanitizer headers again. Closes: #954751.
   * gm2: Define lang_register_spec_functions for jit. Closes: #954438.
Checksums-Sha1:
 e66b24bc8f97a541f47fa47ea71c0105574cae78 27934 gcc-10_10-20200324-1.dsc
 70b8e9a9d898b6f2b317eaeacbb2f39ea8cac9f6 89049019 
gcc-10_10-20200324.orig.tar.gz
 6ae7b254c119337627f621a7a107c3a64ed77ed4 556696 
gcc-10_10-20200324-1.debian.tar.xz
 51fef4c5773c19369520755b3fca51c14cf77987 11070 
gcc-10_10-20200324-1_source.buildinfo
Checksums-Sha256:
 86f6cd672db6314c23cbf3d66cc6ab3d9d8b319ea538c9d586f318409c567e4e 27934 
gcc-10_10-20200324-1.dsc
 7ea222fbf7d6eea9e0a288a6ea92d72b023349a060a62adb032db2931fb9e1b8 89049019 
gcc-10_10-20200324.orig.tar.gz
 701bebb749971eabfde28214096e001cc066732d846e4056ca2967b92f1de606 556696 
gcc-10_10-20200324-1.debian.tar.xz
 db390d19c0a772c14a6d998c2fd708ca23426a3efe20101c2c43b314f7caf5fb 11070 
gcc-10_10-20200324-1_source.buildinfo
Files:
 691a90d9eb6218a5e4d7024f0d17dc5a 27934 devel optional gcc-10_10-20200324-1.dsc
 f6aeb8a31c0d9fe680ba01f3a4ed9758 89049019 devel optional 
gcc-10_10-20200324.orig.tar.gz
 

Bug#954438: marked as done (libgccjit0: GCCJIT leads to linking error)

2020-03-23 Thread Debian Bug Tracking System
Your message dated Mon, 23 Mar 2020 19:34:32 +
with message-id 
and subject line Bug#954438: fixed in gcc-10 10-20200323-1
has caused the Debian Bug report #954438,
regarding libgccjit0: GCCJIT leads to linking error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
954438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954438
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Source: gcc-10
Source-Version: 10-20200323-1
Done: Matthias Klose 

We believe that the bug you reported is fixed in the latest version of
gcc-10, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 954...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose  (supplier of updated gcc-10 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Mon, 23 Mar 2020 19:01:05 +0100
Source: gcc-10
Architecture: source
Version: 10-20200323-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Closes: 954438 954751
Changes:
 gcc-10 (10-20200323-1) unstable; urgency=medium
 .
   * GCC snapshot, taken from the trunk (20200323, 497498c878d).
   * libgcc-N-dev: Include sanitizer headers again. Closes: #954751.
   * gm2: Define lang_register_spec_functions for jit. Closes: #954438.
Checksums-Sha1:
 65fb895e7ec903c5c2ed846919f716ded9a9a09e 27934 gcc-10_10-20200323-1.dsc
 bb8dbbcfdd78be675945a216724df7a5ec9b0098 89032771 
gcc-10_10-20200323.orig.tar.gz
 3cc0f1efd3d6d34f32ecc82048e21456047faaa4 556704 
gcc-10_10-20200323-1.debian.tar.xz
 f1b5ffc91302ab5bfc4b5770a4a50b47a1d82acc 10999 
gcc-10_10-20200323-1_source.buildinfo
Checksums-Sha256:
 a4533b73ae1fb8db3a01efe96595e763062ae5be1648f67cc840e83c7cc94c4b 27934 
gcc-10_10-20200323-1.dsc
 f363a4d542bae2e12397eda80e5b8c416713c06ca2cb053a6d38c1b08086b11b 89032771 
gcc-10_10-20200323.orig.tar.gz
 a340266d6522964cfe33f4b252d379a600360c7a676adb31d37f8e419b8e9fdc 556704 
gcc-10_10-20200323-1.debian.tar.xz
 d7bdd31a2aefeed0b81866a3141fa5a1ffd7de313f9389137d84595c5ea55082 10999 
gcc-10_10-20200323-1_source.buildinfo
Files:
 a8e23fa4d91ce4abb5d6e31d4bf13808 27934 devel optional gcc-10_10-20200323-1.dsc
 a633781b4d6cf5b57a023e8dad69608e 89032771 devel optional 
gcc-10_10-20200323.orig.tar.gz