Skip to content

Something wrong with configure for atomics on master #3032

@rhc54

Description

@rhc54

I am consistently seeing this output in builds, both on my machine and from Jenkins servers:

11:10:41 checking dependency style of gcc -std=gnu99... gcc3
11:10:41 checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
11:10:41 checking the name lister (/bin/nm -B) interface... BSD nm
11:10:41 checking for fgrep... /bin/grep -F
11:10:41 checking for __atomic builtin atomics... yes
11:10:41 checking for processor support of __atomic builtin atomic compare-and-swap on 128-bit values... no
11:10:41 checking for __atomic builtin atomic compare-and-swap on 128-bit values with -mcx16 flag... yes
11:10:41 checking if __int128 atomic compare-and-swap is always lock-free... yes
11:10:41 checking if .proc/endp is needed... no
11:10:41 checking directive for setting text section... .text
11:10:41 checking directive for exporting symbols... .globl
11:10:41 checking for objdump... objdump
11:10:41 checking if .note.GNU-stack is needed... yes
11:10:41 checking suffix for labels... :
11:10:41 checking prefix for global symbol labels... 
11:10:41 checking prefix for lsym labels... .L
11:10:41 checking prefix for function in .type... @
11:10:41 checking if .size is needed... yes
11:10:41 checking if .align directive takes logarithmic value... no
11:10:41 checking if processor supports x86_64 16-byte compare-and-exchange... yes
11:10:41 checking if compiler correctly handles volatile 128bits... yes
11:10:41 checking for assembly architecture... AMD64
11:10:41 checking for builtin atomics... BUILTIN_GCC
11:10:41 checking for pre-built assembly file... no (atomic-amd64-linux
11:10:41 amd64-linux-nongas.s not found)
11:10:41 checking whether possible to generate assembly file... failed
11:10:41 configure: WARNING: Could not build atomic operations assembly file.
11:10:41 configure: WARNING: There will be no atomic operations for this build.
11:10:41 checking for atomic assembly filename... none

Note that this is on Intel architectures. Digging a little deeper, it isn't clear to me where the host variable is getting set, and that appears to lead to the architecture being mistakenly identified.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions