[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 Mon, 23 Mar 2020 19:34:32 +0000
with message-id <E1jGSqG-0003za-Cw@fasolo.debian.org>
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 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-20200323-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: 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 <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
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
 1d13a088737968c6eac6e3f420232feb 556704 devel optional gcc-10_10-20200323-1.debian.tar.xz
 8a2a7e99722cca626c6ad73f4f7f18cb 10999 devel optional gcc-10_10-20200323-1_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl54+gMQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9QSDD/9SZC2fMHDAm7MGf6z4jnie5ED7dJtNnlev
WSR4wqRxFKerKWkRMuGF6zRAsVZoU1UPqWKWhXrZ7Pz4uOCnZsDcE5EnQmdtxlcq
uFYNbbOApR4HSC8atn/UTwXcrLa3rD9a713drYBTQmULn34ryiGsJJ+vsfBqFe/5
GyN0WNkBKrwb/775dCW/0ebJaZKR5NGpvdzYZ2Znk+igUVtcOcpKHMCO4lWkExEs
qRGTjUgz4/fT2LJyOwnt5jxmUKGRvsuPCQVceYfqAS8mHJ9bfDfPgqMnzRp9wCCx
mfSyTf00+PtefY3unhjxaOFcemU1kSmFs3zp729ruNel/MpyeiCF1w3km6zCgRo4
zCxtC+NgATWYEbji7GUfs6HkUEl8T9ZwnJj7wU1Qj0JXmLx8dQuFqJsdoZ94EJRW
UzDUh2s35DV88mXapuwweYRrCGMCw7zC5TTXXAdxuzX/zKxn1JN9Qd8aepyhrZqn
dPEkxHGvXQjiPSrc8OBUdCD/UZ/EUng8NZLqzSygugL7zvUpSdysDORv7phdXtUb
1SmaxfPu7cjyOF8YKCuzldVkrl9xYHuLu3CW7EBIKqrZt5SFSe7tYrxfF/V2UIjG
13utiDUOgZxdEkvfZSfj/Iu9ZK4zJbylRwPvCX2Slqsi6EQtwTQNfoyCrg6gJLwE
/0FYR+o2uA==
=dFEl
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: