[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Your message dated Tue, 24 Mar 2020 13:06:09 +0000
with message-id <E1jGjFx-00045p-WA@fasolo.debian.org>
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 owner@bugs.debian.org
immediately.)


-- 
954438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954438
Debian Bug Tracking System
Contact owner@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 <libgccjit.h>
#include <math.h>
#include <stdio.h>

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-base    10-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  libmpc3        1.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 <doko@debian.org>

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 954438@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (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 ftpmaster@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 <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
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
 b45e049bfdfe375847bc18beeb8dc601 556696 devel optional gcc-10_10-20200324-1.debian.tar.xz
 45dacdb38bc1ef6ce2b29f423372ca01 11070 devel optional gcc-10_10-20200324-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl56AlUQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9S5QEADLGyMKUjc5epuUOHqiXcWQLJ0cj4oupCm5
p7MUBJe++N3XGO32b29OddUHy1sRh2SpEg3HogSuwG2JiZeEGw28E7Q+sVRPtNjD
ulP70wD0YNRjYEJZCp9wF1yz7su9Q9VbFtgRX1i4pSl+4D9kTJnYDXQx4xMnhCq4
QQEsnhi3rWib1eZptV8jiwhT5vWNcsGChRNUQXeKVyqaX/tmT8qYED0MtEunIY6G
oAF2sKps5K+OR82FjM9+8i/mNRUvPgNhH+wmOaVMVw08eZYDm1sgvQLNsh+zl+ni
M3jjCRAuFSBPNE/09kGHGUQcAiN7R/r8WUDXDvch6ZxblsGmnvPGvNCBq9gnReeQ
e5dVs4bn5cx2Oap4hvXJGYjLwPx54QgjpIYB1RBlbfS5paeV4rUp9qE9TBEOh9sR
rIr6MxkZ9eV/6EmsDaDDhwXjSi4LABP2nBCtw0HLaxIVsTA8e7flarlpAcJidOuc
bUr8Tq8zcK+xQz8JDahpCgjpCiATqEaLK9ySZwz9+WZtJOy2YJj1uwksFdtDFsK0
NRKRO3P6I4qNKEcV18hXdTMx2QnjlBLdVfFg5UDxWy9ayOaO58lodgtAZwjW+Iga
MX5DZs8hfvrSQI5R2Mi/asA9kGmuWzeK9oetXB1ZXfMzt7OZNw0LvlPgDR0H2fqi
xALmvQyaZg==
=KSOL
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: