Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729428 - sys-libs/libxcrypt fails to compile with Clang
Summary: sys-libs/libxcrypt fails to compile with Clang
Status: RESOLVED DUPLICATE of bug 729132
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-06-24 11:22 UTC by Agostino Sarubbo
Modified: 2021-06-18 09:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,63.78 KB, text/plain)
2020-06-24 11:22 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,247 bytes, application/x-bzip-compressed-tar)
2020-06-24 11:22 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-24 11:22:07 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: sys-libs/libxcrypt fails to compile.
Discovered on: amd64

NOTE:
If yout think this issue is related to clang/llvm toolchain, please block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-24 11:22:13 UTC
Created attachment 646036 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-06-24 11:22:15 UTC
Created attachment 646038 [details]
other.tar.bz2

other logs
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-06-18 09:13:41 UTC
Looks more like blanket -Werror:

/var/tmp/portage/sys-libs/libxcrypt-4.4.16/work/libxcrypt-4.4.16/lib/alg-yescrypt-opt.c:668:3: error: use of GNU statement expression extension [-Werror,-Wgnu-statement-expression]
/var/tmp/portage/sys-libs/libxcrypt-4.4.16/work/libxcrypt-4.4.16/lib/alg-yescrypt-opt.c:623:2: note: expanded from macro 'PWXFORM'
        PWXFORM_ROUND PWXFORM_WRITE \
        ^
/var/tmp/portage/sys-libs/libxcrypt-4.4.16/work/libxcrypt-4.4.16/lib/alg-yescrypt-opt.c:577:2: note: expanded from macro 'PWXFORM_ROUND'
        PWXFORM_SIMD(X2) \
        ^
/var/tmp/portage/sys-libs/libxcrypt-4.4.16/work/libxcrypt-4.4.16/lib/alg-yescrypt-opt.c:512:20: note: expanded from macro 'PWXFORM_SIMD'
        uint32_t lo = x = EXTRACT64(X) & Smask2reg; \
                          ^
/var/tmp/portage/sys-libs/libxcrypt-4.4.16/work/libxcrypt-4.4.16/lib/alg-yescrypt-opt.c:462:23: note: expanded from macro 'EXTRACT64'
#define EXTRACT64(X) ({ \
                      ^
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2021-06-18 09:16:01 UTC

*** This bug has been marked as a duplicate of bug 729132 ***