Summary: | dev-lisp/gcl-2.6.15_pre3 fails to compile: checking for required object alignment.. configure: error: Cannot find object alignent | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Common Lisp Bugs <common-lisp> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: |
build.log
1-config.log |
Description
Agostino Sarubbo
![]() Created attachment 916168 [details]
build.log
build log and emerge --info
Created attachment 916169 [details]
1-config.log
1-config.log
Error(s) that match a know pattern in addition to what has been reported in the summary: checking for required object alignment... configure: error: Cannot find object alignent checking for required object alignment... configure: error: Cannot find object alignent Nice! A C23 issue: ``` configure:6712: result: 12 configure:6719: checking for required object alignment configure:6758: x86_64-pc-linux-gnu-gcc -o conftest -march=x86-64 -fpermissive -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fno-stack-protector -fsigned-char -pipe -fcommon -fno-builtin-malloc -fno-builtin-free -fno-PIE -fno-pie -fno-PIC -fno-pic -Wall -Wno-empty-body -Wno-unused-but-set-variable -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -no-pie conftest.c >&5 In file included from conftest.c:36: ./h/lu.h:4:13: error: 'bool' cannot be defined via 'typedef' 4 | typedef int bool; | ^~~~ ./h/lu.h:4:13: note: 'bool' is a keyword with '-std=c23' onwards ./h/lu.h:4:1: warning: useless type name in empty declaration 4 | typedef int bool; | ^~~~~~~ conftest.c: In function 'main': conftest.c:45:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 45 | for (i=1;i && NOT_OBJECT_ALIGNED(i); i<<=1); | ^~~ conftest.c:46:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 46 | if (!i) return -1; | ^~ configure:6758: $? = 1 ``` |