FS#49622 - [gcc-multilib] gcc-multilib 6.1 breaks lib32-libxcb 1.12 with -O2

Attached to Project: Community Packages
Opened by georg (fordprefect) - Wednesday, 08 June 2016, 13:02 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 25 September 2016, 14:17 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Allan McRae (Allan)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


As discussed in https://bugs.archlinux.org/task/49560 the version 1.12 of lib32-libxcb compiled with gcc-multilib 6 and -O2 breaks several packages (acroread, teamviewer, zsnes, …).
The same library compiled with gcc-multilib 5.3.0-5 works fine (at least for acroread).

Steps to reproduce:
* install lib32-libxcb 1.12-1 (-2 was built with -O1 as a temporary workaround)
* try to start one of the mentioned programs results in crash
* compile lib32-libxcb 1.12 with gcc-multilib 5.3.0-5 and -O2 and install
* run programs
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 25 September 2016, 14:17 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#49560 
Comment by Allan McRae (Allan) - Wednesday, 08 June 2016, 13:37 GMT
Is this still an issue with 6.1.1-2?
Comment by georg (fordprefect) - Wednesday, 08 June 2016, 13:48 GMT
yes, persists with the current gcc-multilib 6.1.1-2 from [multilib-testing].
Comment by Jan Alexander Steffens (heftig) - Wednesday, 08 June 2016, 14:27 GMT
Does this also affect the i686 libxcb?
Comment by georg (fordprefect) - Wednesday, 08 June 2016, 14:30 GMT
i cannot test it, but according to one comment on acroread in the AUR it does not affect i686.
Comment by Jens Adam (byte) - Wednesday, 08 June 2016, 18:25 GMT
Yes, i686 is fine.