Advisory: Updated clang packages fixes clang build on 32bit and missing compiler-rt This update to clang packages fixes the following issues: clang does not properly detect Mageia on 32bit installs (mga#11805) clang is missing compiler-rt (runtime component library for address, integer,⦠sanitizer) (mga#13141) SRPM: llvm-3.3-2.1.mga4.src.rpm i586: clang-3.3-2.1.mga4.i586.rpm clang-analyzer-3.3-2.1.mga4.i586.rpm clang-doc-3.3-2.1.mga4.noarch.rpm libclang3.3-3.3-2.1.mga4.i586.rpm libclang-devel-3.3-2.1.mga4.i586.rpm libllvm3.3-3.3-2.1.mga4.i586.rpm libllvm-devel-3.3-2.1.mga4.i586.rpm llvm-3.3-2.1.mga4.i586.rpm x86_64: clang-3.3-2.1.mga4.x86_64.rpm clang-analyzer-3.3-2.1.mga4.x86_64.rpm clang-doc-3.3-2.1.mga4.noarch.rpm lib64clang3.3-3.3-2.1.mga4.x86_64.rpm lib64clang-devel-3.3-2.1.mga4.x86_64.rpm lib64llvm3.3-3.3-2.1.mga4.x86_64.rpm lib64llvm-devel-3.3-2.1.mga4.x86_64.rpm llvm-3.3-2.1.mga4.x86_64.rpm Reproducible: Steps to Reproduce:
Blocks: (none) => 11805
Blocks: (none) => 13141
The testcase in bug 13811 confirms that the bug 11805 is fixed, as for the fix for bug 13141, one can probably consider that verifying the fix with rpmdiff now finding additional files in the rpms is enough
Advisory uploaded.
CC: (none) => remiWhiteboard: (none) => advisory
thx I confirm that package from update testing solves the problem
CC: (none) => lohmaier+mageia
Thanks Christian, could you tell us on which arch you tested the update?
Testcase available in bug 13811 comment 0.
Whiteboard: advisory => advisory has_procedure
sorry, I use x86_64
Thanks! Adding the corresponding QA tag.
Whiteboard: advisory has_procedure => advisory has_procedure MGA4-64-OK
As David noticed in mga3 32bit, the same issues is there, so I've pushed the same fixes to mga3.... Mga3: SRPM: llvm-3.2-5.1.mga3.src.rpm i586: clang-3.2-5.1.mga3.i586.rpm clang-analyzer-3.2-5.1.mga3.i586.rpm clang-doc-3.2-5.1.mga3.noarch.rpm libclang3.2-3.2-5.1.mga3.i586.rpm libclang-devel-3.2-5.1.mga3.i586.rpm libllvm3.2-3.2-5.1.mga3.i586.rpm libllvm-devel-3.2-5.1.mga3.i586.rpm llvm-3.2-5.1.mga3.i586.rpm x86_64: clang-3.2-5.1.mga3.x86_64.rpm clang-analyzer-3.2-5.1.mga3.x86_64.rpm clang-doc-3.2-5.1.mga3.noarch.rpm lib64clang3.2-3.2-5.1.mga3.x86_64.rpm lib64clang-devel-3.2-5.1.mga3.x86_64.rpm lib64llvm3.2-3.2-5.1.mga3.x86_64.rpm lib64llvm-devel-3.2-5.1.mga3.x86_64.rpm llvm-3.2-5.1.mga3.x86_64.rpm
Whiteboard: advisory has_procedure MGA4-64-OK => MGA3TOO advisory has_procedure MGA4-64-OK
Advisory updated to list the mga3 SRPM too.
(In reply to Thomas Backlund from comment #1) > The testcase in bug 13811 confirms that the bug 11805 is fixed, as for the > fix for bug 13141, one can probably consider that verifying the fix with > rpmdiff now finding additional files in the rpms is enough For each of the rpms, or is just the difference between the srpms http://sophie.zarb.org/rpms/8674116b1c0cce8ae23969f30de4dea2/files http://sophie.zarb.org/rpms/f4a8b6da175425b87b1fdd3f4e48a201/files enough? For Mageia 4, the updated llvm source rpm has the following files that the current source rpm doesn't have: cfe-3.3-detect-Mageia.patch compiler-rt-3.3.src.tar.gz My brain refuses to tell me how to verify the rpms with rpmdiff (I wouldn't, at this moment, know how to checkout a mga4 package and the same one from updates_testing.... oh, wait, maybe download the srpms for both and then build the packages locally, on both arches?)
CC: (none) => marja11
Sorry for not being specific... something like: rpmdiff release/clang-3.3-2.mga4.i586.rpm updates_testing/clang-3.3-2.1.mga4.i586.rpm |grep libclang_rt should give: added /usr/lib/clang/3.3/lib/linux/libclang_rt.asan-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.full-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.profile-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.san-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan_cxx-i386.a and for 64bit: rpmdiff release/clang-3.3-2.mga4.x86_64.rpm updates_testing/clang-3.3-2.1.mga4.x86_64.rpm |grep libclang_rt added /usr/lib/clang/3.3/lib/linux/libclang_rt.asan-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.asan-x86_64.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.full-x86_64.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.msan-x86_64.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.profile-x86_64.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.san-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.san-x86_64.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.tsan-x86_64.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan-x86_64.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan_cxx-i386.a added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan_cxx-x86_64.a and on mga3: rpmdiff release/clang-3.2-5.mga3.i586.rpm updates_testing/clang-3.2-5.1.mga3.i586.rpm |grep libclang_rt added /usr/lib/clang/3.2/lib/linux/libclang_rt.asan-i386.a added /usr/lib/clang/3.2/lib/linux/libclang_rt.full-i386.a added /usr/lib/clang/3.2/lib/linux/libclang_rt.profile-i386.a rpmdiff release/clang-3.2-5.mga3.x86_64.rpm updates_testing/clang-3.2-5.1.mga3.x86_64.rpm |grep libclang_rt added /usr/lib/clang/3.2/lib/linux/libclang_rt.asan-i386.a added /usr/lib/clang/3.2/lib/linux/libclang_rt.asan-x86_64.a added /usr/lib/clang/3.2/lib/linux/libclang_rt.full-x86_64.a added /usr/lib/clang/3.2/lib/linux/libclang_rt.profile-x86_64.a added /usr/lib/clang/3.2/lib/linux/libclang_rt.tsan-x86_64.a
(In reply to Thomas Backlund from comment #11) > Sorry for not being specific... > > something like: > > rpmdiff release/clang-3.3-2.mga4.i586.rpm > updates_testing/clang-3.3-2.1.mga4.i586.rpm |grep libclang_rt Sorry, that doesn't work here: [root@localhost u]# rpmdiff release/clang-3.3-2.mga4.i586.rpm updates_testing/clang-3.3-2.1.mga4.i586.rpm | grep libclang_rt 'No installed packages by name release/clang-3.3-2.mga4.i586.rpm' [root@localhost u]# rpm -qa | grep clang clang-3.3-2.1.mga4 libclang3.3-3.3-2.1.mga4 [root@localhost u] > > should give: > added /usr/lib/clang/3.3/lib/linux/libclang_rt.asan-i386.a > added /usr/lib/clang/3.3/lib/linux/libclang_rt.full-i386.a > added /usr/lib/clang/3.3/lib/linux/libclang_rt.profile-i386.a > added /usr/lib/clang/3.3/lib/linux/libclang_rt.san-i386.a > added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan-i386.a > added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan_cxx-i386.a > > but, after running updatedb, I can see those files are installed: [root@localhost u]# updatedb [root@localhost u]# locate libclang_rt /usr/lib/clang/3.3/lib/linux/libclang_rt.asan-i386.a /usr/lib/clang/3.3/lib/linux/libclang_rt.full-i386.a /usr/lib/clang/3.3/lib/linux/libclang_rt.profile-i386.a /usr/lib/clang/3.3/lib/linux/libclang_rt.san-i386.a /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan-i386.a /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan_cxx-i386.a [root@localhost u]# I suppose that's good enough?
Whiteboard: MGA3TOO advisory has_procedure MGA4-64-OK => MGA3TOO advisory has_procedure MGA4-64-OK MGA4-32-OK
(In reply to Marja van Waes from comment #12) > (In reply to Thomas Backlund from comment #11) > > Sorry for not being specific... > > > > something like: > > > > rpmdiff release/clang-3.3-2.mga4.i586.rpm > > updates_testing/clang-3.3-2.1.mga4.i586.rpm |grep libclang_rt > > Sorry, that doesn't work here: > [root@localhost u]# rpmdiff release/clang-3.3-2.mga4.i586.rpm > updates_testing/clang-3.3-2.1.mga4.i586.rpm | grep libclang_rt > 'No installed packages by name release/clang-3.3-2.mga4.i586.rpm' > [root@localhost u]# rpm -qa | grep clang > clang-3.3-2.1.mga4 > libclang3.3-3.3-2.1.mga4 > [root@localhost u] Ah, sorry... more info missing ... I compared the rpms in the <arch>/media/core/* on my local mirror... > > > > > > should give: > > added /usr/lib/clang/3.3/lib/linux/libclang_rt.asan-i386.a > > added /usr/lib/clang/3.3/lib/linux/libclang_rt.full-i386.a > > added /usr/lib/clang/3.3/lib/linux/libclang_rt.profile-i386.a > > added /usr/lib/clang/3.3/lib/linux/libclang_rt.san-i386.a > > added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan-i386.a > > added /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan_cxx-i386.a > > > > > > but, after running updatedb, I can see those files are installed: > > [root@localhost u]# updatedb > [root@localhost u]# locate libclang_rt > /usr/lib/clang/3.3/lib/linux/libclang_rt.asan-i386.a > /usr/lib/clang/3.3/lib/linux/libclang_rt.full-i386.a > /usr/lib/clang/3.3/lib/linux/libclang_rt.profile-i386.a > /usr/lib/clang/3.3/lib/linux/libclang_rt.san-i386.a > /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan-i386.a > /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan_cxx-i386.a > [root@localhost u]# > > I suppose that's good enough? Yep, that also confirms them, so simply checking for: l -1 /usr/lib/clang/3.*/lib/linux/libclang_rt* can also be done
(In reply to Thomas Backlund from comment #13) > (In reply to Marja van Waes from comment #12) > > (In reply to Thomas Backlund from comment #11) > > > Sorry for not being specific... > > > > > > something like: > > > > > > rpmdiff release/clang-3.3-2.mga4.i586.rpm > > > updates_testing/clang-3.3-2.1.mga4.i586.rpm |grep libclang_rt > > > > Sorry, that doesn't work here: > > [root@localhost u]# rpmdiff release/clang-3.3-2.mga4.i586.rpm > > updates_testing/clang-3.3-2.1.mga4.i586.rpm | grep libclang_rt > > 'No installed packages by name release/clang-3.3-2.mga4.i586.rpm' > > [root@localhost u]# rpm -qa | grep clang > > clang-3.3-2.1.mga4 > > libclang3.3-3.3-2.1.mga4 > > [root@localhost u] > > Ah, sorry... more info missing ... > I compared the rpms in the <arch>/media/core/* on my local mirror... I don't have a local mirror, and it didn't work with a remote one, either [root@localhost u]# rpmdiff ftp://mageia.webconquest.com/distrib/4/i586/media/core/release/clang-3.3-2.mga4.i586.rpm ftp://mageia.webconquest.com/distrib/4/i586/media/core/updates_testing/clang-3.3-2.1.mga4.i586.rpm 'No installed packages by name ftp://mageia.webconquest.com/distrib/4/i586/media/core/release/clang-3.3-2.mga4.i586.rpm' [root@localhost u]# Or does this command only work with the mirror that was used to install from? > > [root@localhost u]# updatedb > > [root@localhost u]# locate libclang_rt > > /usr/lib/clang/3.3/lib/linux/libclang_rt.asan-i386.a > > /usr/lib/clang/3.3/lib/linux/libclang_rt.full-i386.a > > /usr/lib/clang/3.3/lib/linux/libclang_rt.profile-i386.a > > /usr/lib/clang/3.3/lib/linux/libclang_rt.san-i386.a > > /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan-i386.a > > /usr/lib/clang/3.3/lib/linux/libclang_rt.ubsan_cxx-i386.a > > [root@localhost u]# > > > > I suppose that's good enough? > > > Yep, that also confirms them, so simply checking for: > > l -1 /usr/lib/clang/3.*/lib/linux/libclang_rt* > > can also be done Thx, I'll try to check 64bits Mga 3 tonight, too.
(In reply to Marja van Waes from comment #14) > > I don't have a local mirror, and it didn't work with a remote one, either > [root@localhost u]# rpmdiff > ftp://mageia.webconquest.com/distrib/4/i586/media/core/release/clang-3.3-2. > mga4.i586.rpm > ftp://mageia.webconquest.com/distrib/4/i586/media/core/updates_testing/clang- > 3.3-2.1.mga4.i586.rpm > 'No installed packages by name > ftp://mageia.webconquest.com/distrib/4/i586/media/core/release/clang-3.3-2. > mga4.i586.rpm' > [root@localhost u]# > > Or does this command only work with the mirror that was used to install > from? No, rpmdiff can lnly handle local files, so you can test: wget ftp://mageia.webconquest.com/distrib/4/i586/media/core/release/clang-3.3-2.mga4.i586.rpm wget ftp://mageia.webconquest.com/distrib/4/i586/media/core/updates_testing/clang-3.3-2.1.mga4.i586.rpm rpmdiff clang-3.3-2.mga4.i586.rpm clang-3.3-2.1.mga4.i586.rpm |grep libclang_rt the rpmdiff is quite nice to see what changes between 2 rpms
(In reply to Thomas Backlund from comment #15) > > No, rpmdiff can lnly handle local files, so you can test: > > wget > ftp://mageia.webconquest.com/distrib/4/i586/media/core/release/clang-3.3-2. > mga4.i586.rpm > wget > ftp://mageia.webconquest.com/distrib/4/i586/media/core/updates_testing/clang- > 3.3-2.1.mga4.i586.rpm > > rpmdiff clang-3.3-2.mga4.i586.rpm clang-3.3-2.1.mga4.i586.rpm |grep > libclang_rt > > > the rpmdiff is quite nice to see what changes between 2 rpms Nice, thanks :-) I did that with the 32bits Mga3 clang and then: [user@Mga3_64bits 32bits]$ rpmdiff clang-3.2-5.mga3.i586.rpm clang-3.2-5.1.mga3.i586.rpm | grep libclang_rt added /usr/lib/clang/3.2/lib/linux/libclang_rt.asan-i386.a added /usr/lib/clang/3.2/lib/linux/libclang_rt.full-i386.a added /usr/lib/clang/3.2/lib/linux/libclang_rt.profile-i386.a [user@Mga3_64bits 32bits]$ Luigi already confirmed in bug 13811 that bug 11805 is fixed in Mga3, too, so testing complete for 3 i586
Summary: Update request: clang-3.3-2.1.mga4 => Update request: clang-3.3-2.1.mga4, clang-3.2-5.1.mga3Whiteboard: MGA3TOO advisory has_procedure MGA4-64-OK MGA4-32-OK => MGA3TOO advisory has_procedure MGA4-64-OK MGA4-32-OK MGA3-32-OK
and now 64bits Mga3 before updating llvm + clang "l -1 /usr/lib/clang/3.*/lib/linux/libclang_rt*" gave no files. After updating: [root@Mga3_64bits user]# l -1 /usr/lib/clang/3.*/lib/linux/libclang_rt* /usr/lib/clang/3.2/lib/linux/libclang_rt.asan-i386.a /usr/lib/clang/3.2/lib/linux/libclang_rt.asan-x86_64.a /usr/lib/clang/3.2/lib/linux/libclang_rt.full-x86_64.a /usr/lib/clang/3.2/lib/linux/libclang_rt.profile-x86_64.a /usr/lib/clang/3.2/lib/linux/libclang_rt.tsan-x86_64.a [root@Mga3_64bits user]# So for both arches on both Mga 3 and 4 testing is complete :-)
Whiteboard: MGA3TOO advisory has_procedure MGA4-64-OK MGA4-32-OK MGA3-32-OK => MGA3TOO advisory has_procedure MGA4-64-OK MGA4-32-OK MGA3-32-OK MGA3-64-OK
Validating the update, advisory has already been uploaded.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Update pushed. http://advisories.mageia.org/MGAA-2014-0146.html
Status: NEW => RESOLVEDCC: (none) => mageiaResolution: (none) => FIXED