Hello all,

Recently, I have found that with GCC version bump in F36 some of my packages are stopped to build, or stopped to build properly during the planned package rebuild.
They were fine under F35 — but apparently there are some changes in newer GCC that affected them.

For example,  "libscrypt" package issue is filled here: https://bugzilla.redhat.com/show_bug.cgi?id=2046062
The library in the package was actually built, but the build results are different under various GCC versions — as shown in the "nm" dump below.

Has anybody already faced a similar issue? Is there any information on what could cause the problem, and how to fix it?

Thanks!

[Fedora35]$ nm -D libscrypt.so.0
                 U close@GLIBC_2.2.5
                 U __ctype_b_loc@GLIBC_2.3
                 w __cxa_finalize@GLIBC_2.2.5
                 U __errno_location@GLIBC_2.2.5
                 U free@GLIBC_2.2.5
                 w __gmon_start__
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
0000000000000000 A libscrypt
0000000000004520 T libscrypt_check@@libscrypt
00000000000046f0 T libscrypt_hash@@libscrypt
0000000000003d80 T libscrypt_mcf@@libscrypt
0000000000004430 T libscrypt_salt_gen@@libscrypt
0000000000001600 T libscrypt_scrypt@@libscrypt
                 U malloc@GLIBC_2.2.5
                 U memcpy@GLIBC_2.14
                 U mmap@GLIBC_2.2.5
                 U munmap@GLIBC_2.2.5
                 U open@GLIBC_2.2.5
                 U read@GLIBC_2.2.5
                 U __snprintf_chk@GLIBC_2.3.4
                 U __stack_chk_fail@GLIBC_2.4
                 U strchr@GLIBC_2.2.5
                 U strlen@GLIBC_2.2.5
                 U strtok_r@GLIBC_2.2.5
                 U strtoul@GLIBC_2.2.5

[Fedora36]$ nm -D libscrypt.so.0 U close@GLIBC_2.2.5 U __ctype_b_loc@GLIBC_2.3 w __cxa_finalize@GLIBC_2.2.5 U __errno_location@GLIBC_2.2.5 U free@GLIBC_2.2.5 w __gmon_start__ w _ITM_deregisterTMCloneTable w _ITM_registerTMCloneTable 00000000000043e0 T libscrypt_b64_decode 0000000000004240 T libscrypt_b64_encode 0000000000004950 T libscrypt_check 00000000000047c0 T libscrypt_hash 0000000000003880 T libscrypt_HMAC_SHA256_Final 0000000000003620 T libscrypt_HMAC_SHA256_Init 0000000000003870 T libscrypt_HMAC_SHA256_Update 0000000000004170 T libscrypt_mcf 00000000000038f0 T libscrypt_PBKDF2_SHA256 0000000000004690 T libscrypt_salt_gen 0000000000003c90 T libscrypt_scrypt 00000000000034d0 T libscrypt_SHA256_Final 0000000000003290 T libscrypt_SHA256_Init 00000000000032c0 T libscrypt_SHA256_Update U malloc@GLIBC_2.2.5 U memcpy@GLIBC_2.14 U mmap@GLIBC_2.2.5 U munmap@GLIBC_2.2.5 U open@GLIBC_2.2.5 U read@GLIBC_2.2.5 00000000000048f0 T slow_equals U __snprintf_chk@GLIBC_2.3.4 U __stack_chk_fail@GLIBC_2.4 U strchr@GLIBC_2.2.5 U strlen@GLIBC_2.2.5 U strtok_r@GLIBC_2.2.5 U strtoul@GLIBC_2.2.5

--
wbr, Denis.