Bug 1729402
| Summary: | libTsan coming from gcc-toolset-9 leaked through the compose process to RHEL-8.1 BaseOS compose | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Martin Cermak <mcermak> |
| Component: | gcc | Assignee: | Marek Polacek <mpolacek> |
| gcc sub component: | gcc-toolset-9 | QA Contact: | Martin Cermak <mcermak> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | ahajkova, bgollahe, fweimer, jakub, jwboyer, mpolacek, mprchlik, ohudlick |
| Version: | 8.1 | Flags: | pm-rhel:
mirror+
|
| Target Milestone: | rc | ||
| Target Release: | 8.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | gcc-toolset-9-gcc-9.1.1-2.4.el8 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-05 21:14:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin Cermak
2019-07-12 08:03:43 UTC
Sorry, I didn't notice this until now. We can't rename libtsan from GTS 9 because the SONAMEs are the same: $ rpm -qpl libtsan-8.3.1-4.5.el8.x86_64.rpm /usr/lib64/libtsan.so.0 /usr/lib64/libtsan.so.0.0.0 $ rpm -qpl libtsan-9.1.1-2.3.el8.x86_64.rpm /usr/lib64/libtsan.so.0 /usr/lib64/libtsan.so.0.0.0 and we would get conflicts when trying to install libtsan from GTS 9 when the system libtsan was already installed (as in Bug 1722892). So we need to drop libtsan and liblsan from GTS 9. Checking if there are any ABI/ABI changes I see: $ abipkgdiff libtsan-8.3.1-4.5.el8.x86_64.rpm libtsan-9.1.1-2.3.el8.x86_64.rpm ================ changes of 'libtsan.so.0.0.0'=============== Functions changes summary: 0 Removed, 0 Changed, 0 Added function Variables changes summary: 0 Removed, 0 Changed, 0 Added variable Function symbols changes summary: 1 Removed, 61 Added function symbols not referenced by debug info Variable symbols changes summary: 0 Removed, 0 Added variable symbol not referenced by debug info 1 Removed function symbol not referenced by debug info: _ZN11__sanitizer11CheckFailedEPKciS1_yy 61 Added function symbols not referenced by debug info: _ZdaPvSt11align_val_t _ZdaPvSt11align_val_tRKSt9nothrow_t _ZdaPvm _ZdaPvmSt11align_val_t _ZdlPvSt11align_val_t _ZdlPvSt11align_val_tRKSt9nothrow_t _ZdlPvm _ZdlPvmSt11align_val_t _ZnamSt11align_val_t _ZnamSt11align_val_tRKSt9nothrow_t _ZnwmSt11align_val_t _ZnwmSt11align_val_tRKSt9nothrow_t __fprintf_chk __interceptor___fprintf_chk, aliases __fprintf_chk __interceptor___pthread_mutex_lock, aliases __pthread_mutex_lock __interceptor___pthread_mutex_unlock __interceptor___snprintf_chk __interceptor___sprintf_chk, aliases __sprintf_chk __interceptor___strxfrm_l __interceptor___vsnprintf_chk __interceptor___vsprintf_chk __interceptor___wcsxfrm_l, aliases __wcsxfrm_l __interceptor_fgets __interceptor_fputs, aliases fputs __interceptor_mprotect, aliases mprotect __interceptor_name_to_handle_at __interceptor_open_by_handle_at __interceptor_pthread_getname_np __interceptor_readlink __interceptor_readlinkat __interceptor_recvmmsg __interceptor_sendmmsg, aliases sendmmsg __interceptor_strxfrm, aliases strxfrm __interceptor_strxfrm_l __interceptor_wcsxfrm, aliases wcsxfrm __interceptor_wcsxfrm_l, aliases wcsxfrm_l __pthread_mutex_lock __pthread_mutex_unlock, aliases __interceptor___pthread_mutex_unlock __sanitizer_acquire_crash_state __snprintf_chk, aliases __interceptor___snprintf_chk __sprintf_chk __strxfrm_l, aliases __interceptor___strxfrm_l __tsan_get_report_tag __tsan_symbolize_external_ex __vsnprintf_chk, aliases __interceptor___vsnprintf_chk __vsprintf_chk, aliases __interceptor___vsprintf_chk __wcsxfrm_l fgets, aliases __interceptor_fgets fputs mprotect name_to_handle_at, aliases __interceptor_name_to_handle_at open_by_handle_at, aliases __interceptor_open_by_handle_at pthread_getname_np, aliases __interceptor_pthread_getname_np readlink, aliases __interceptor_readlink readlinkat, aliases __interceptor_readlinkat recvmmsg, aliases __interceptor_recvmmsg sendmmsg strxfrm strxfrm_l, aliases __interceptor_strxfrm_l wcsxfrm wcsxfrm_l ================ end of changes of 'libtsan.so.0.0.0'=============== The two __tsan_* symbols: __tsan_get_report_tag __tsan_symbolize_external_ex are not emitted in GCC 9. Similarly for liblsan, the SONAMEs are the same: $ rpm -qpl liblsan-8.3.1-4.5.el8.x86_64.rpm /usr/lib64/liblsan.so.0 /usr/lib64/liblsan.so.0.0.0 $ rpm -qpl liblsan-9.1.1-2.3.el8.x86_64.rpm /usr/lib64/liblsan.so.0 /usr/lib64/liblsan.so.0.0.0 $ abipkgdiff liblsan-8.3.1-4.5.el8.x86_64.rpm liblsan-9.1.1-2.3.el8.x86_64.rpm ================ changes of 'liblsan.so.0.0.0'=============== Functions changes summary: 0 Removed, 0 Changed, 0 Added function Variables changes summary: 0 Removed, 0 Changed, 0 Added variable Function symbols changes summary: 1 Removed, 1 Added function symbols not referenced by debug info Variable symbols changes summary: 0 Removed, 0 Added variable symbol not referenced by debug info 1 Removed function symbol not referenced by debug info: _ZN11__sanitizer11CheckFailedEPKciS1_yy 1 Added function symbol not referenced by debug info: __sanitizer_acquire_crash_state ================ end of changes of 'liblsan.so.0.0.0'=============== I thought we had time before GTS 9 GA but I can work on it today. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3440 |