Your message dated Fri, 07 Feb 2020 19:35:00 +0000
with message-id <[email protected]>
and subject line Bug#751161: fixed in libtool 2.4.6-12
has caused the Debian Bug report #751161,
regarding libtool: strips fcilkplus and sanitizer flags
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 [email protected]
immediately.)


-- 
751161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751161
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libtool
Version: 2.4.2-1.7
Severity: important
Forwarded: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17750

hi,
this copy of a upstream bug report. As Debian now has gcc-4.9 available
this should be fixed for jessie regardless of upstreams reaction time.


gcc-4.9 now supports cilkplus with the -fcilkplus flag.
libtool strips this flag from LDFLAGS leading to an wrongly linked library.
To reproduce choose a random libtool based project (e.g. libmatheval)
and add this function in a random file (e.g. lib/node.c):


#include <cilk/cilk.h>
int n(char * a)
{
a = cilk_spawn atoi(a);
return a;
}


then configure build with:
./configure  CFLAGS="-fcilkplus" LDFLAGS="-fcilkplus" CC=gcc-4.9


during linking -fcilkplus is not used and the library is underlinked:
./libmatheval-1.1.11+dfsg# ldd -r ./lib/.libs/libmatheval.so
        linux-vdso.so.1 (0x00007fffccdc4000)
        /usr/lib/libeatmydata/libeatmydata.so (0x00007eff50cfd000)
        /usr/lib/cowdancer/libcowdancer.so (0x00007eff50af9000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007eff507f3000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007eff5044a000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007eff50246000)
        /lib64/ld-linux-x86-64.so.2 (0x00007eff5110f000)
undefined symbol: __cilkrts_rethrow     (./lib/.libs/libmatheval.so)
undefined symbol: __cilkrts_enter_frame_1       (./lib/.libs/libmatheval.so)
undefined symbol: __cilkrts_save_fp_ctrl_state  (./lib/.libs/libmatheval.so)
undefined symbol: __cilkrts_sync        (./lib/.libs/libmatheval.so)
undefined symbol: __cilkrts_leave_frame (./lib/.libs/libmatheval.so)
undefined symbol: __cilkrts_enter_frame_fast_1  (./lib/.libs/libmatheval.so)

it needs to be linked against libcilkrts.so.5

This is identical to libtools stripping of fopenmp and the fix is the
same, add -fcilkplus to the whitelist.

Similar the new -fsanitizer= flags are stripped from LDFLAGS, they
should probably be added too.

Cheers,
Julian Taylor

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: libtool
Source-Version: 2.4.6-12

We believe that the bug you reported is fixed in the latest version of
libtool, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <[email protected]> (supplier of updated libtool 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 07 Feb 2020 16:15:16 +0000
Source: libtool
Architecture: source
Version: 2.4.6-12
Distribution: unstable
Urgency: medium
Maintainer: Alastair McKinstry <[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Closes: 243618 253904 258261 644744 751161 864018 866631 924184 948511 949270 
949271
Changes:
 libtool (2.4.6-12) unstable; urgency=medium
 .
   [ Helmut Grohe ]
   * Avoid build-dependency cycle with libtool. Closes: #924184
   [ Vagrant Cascadian ]
   * all ./configure with explicit GREP=/bin/grep and SED=/bin/sed,
     to prevent variation when built on a merged /usr system.
     Closes: #949270
   * Remove file-prefix-map/debug-prefix-map arguments from the libtool.1 
manpage,
     which results in an unreproducible package when the build path varies.
     Closes: #949271
   [ Alastair McKinstry ]
   * Standards-Version: 4.5.0
   * Use debhelper-compat (= 12)
   * Increment AC_PREREQ to 2.63. Closes: #948511
   * Remove unsafe debug_cmd. Closes: #866631
   * Close ENOFIX a 15-yr old wishlist. Closes: #258261
   * Close old bugs believed fixed. Closes: #243618, #644744
   * Minor documentation fix. Closes: #253904
   * Set AR_FLAGS=cr by default. Closes: #864018
   [ Vincent Lefevre ]
   * Pass fcilkplus and sanitizer flags unchanged. Closes: #751161
Checksums-Sha1:
 c05ed3b671e513473af9fdfca7861c1fd88f31a5 2500 libtool_2.4.6-12.dsc
 168ff822c8af1f9599268de4031da4ee7bf17b76 50740 libtool_2.4.6-12.debian.tar.xz
Checksums-Sha256:
 361b2e7c9ce66372c98285c851fd5a40f9f3ee25662709b97e22b7b90d080297 2500 
libtool_2.4.6-12.dsc
 520e7fe4d5c96e9d52fbd212d54848dd67c633874b6a4c8d4717b947a18204ce 50740 
libtool_2.4.6-12.debian.tar.xz
Files:
 77d7e9010e865f31ab9c39104d0112a3 2500 devel optional libtool_2.4.6-12.dsc
 993f7a5bb6b2e6766973ced66d9b3ef7 50740 devel optional 
libtool_2.4.6-12.debian.tar.xz

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

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAl49tngACgkQy+a7Tl2a
06XxAhAAjBKCosiXeU7j5fBTRaAzAI+oEt7DL9JYd29MKHhEEa2qyGPORhLBGr26
IyleiytfEb7RRTCtIoRZhutfgcN5nIAebtAfH7VZPNZqZQbyZ+5AMpVZn0uT7Y+0
y6EUu4FY/TZyxYRYqjU0Vq4FWBC6dcMHC/Hwz6ofFsa6B7n8QpfthiY3ZN4Sa0R/
BYSOs/VF1YdlsM8RNNcpLh+0jaBWU7XAuj9qy/x21FZGqGwKAXhFgk9EzQulmGJa
LG8jaq/+38TXP3BAzPIrA/r4LTEZomqdF1uX20027w2voHjdhtDFSeJ2YY+bXRSm
Ma9GevPVtY1F/37yRhEzxmiwc5suqP548MjfC03OZTIYbYMj2e4dvhukGHOcus0d
/YvUuYUPqqzzvEy+NdbMrLoDNyZ/ArYMfmAo8iHihn+BSiWTutCdIags5nrIerxe
6jJJsX7r7fA9vAfNC+rZq8SnWCfH7MFov2m4MNGU9OV0q4Wz+DkDorApCfqZ2nvm
pv3wBLh1icVyvKwOXFc3Lc91iaZoa2QGtx/mRTClMn+/YBfftx0zxy6CFyN1JONG
JS0lboaDqpVnq8+BAEbYkpWL3qQ7dM6A505p7KIocPmq7hNbIr4J3W78jY/hU0i5
xqupFAs6MWM3sJ3oNh7qk0Rt6967tZgp2e0rarPCOj1Mdq8UjtY=
=wkYh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to