Summary: | media-libs/zvbi-0.2.35-r2: fails to compile with non standard compiler flags (error: inlining failed in call to 'always_inline' 'open.localalias': function not inlinable) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dani-g5x <dani-5g> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | canarauc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | file containing emerge --info of package and system configuration plus build.log |
Description
dani-g5x
2023-02-06 15:51:32 UTC
Created attachment 850004 [details]
file containing emerge --info of package and system configuration plus build.log
inlined from 'device_open' at /var/tmp/portage/media-libs/zvbi-0.2.35-r2/work/zvbi-0.2.35/src/io.c:655:7: /usr/include/bits/fcntl2.h:41:1: error: inlining failed in call to 'always_inline' 'open.localalias': function not inlinable 41 | open (const char *__path, int __oflag, ...) | ^ /usr/include/bits/fcntl2.h:53:14: note: called from here 53 | return __open_alias (__path, __oflag, __va_arg_pack ()); | ^ /usr/include/bits/fcntl2.h:41:1: error: inlining failed in call to 'always_inline' 'open.localalias': function not inlinable 41 | open (const char *__path, int __oflag, ...) | ^ /usr/include/bits/fcntl2.h:59:10: note: called from here 59 | return __open_alias (__path, __oflag, __va_arg_pack ()); | ^ In function 'open', inlined from 'vbi_proxy_msg_logger' at /var/tmp/portage/media-libs/zvbi-0.2.35-r2/work/zvbi-0.2.35/src/proxy-msg.c:200:15: /usr/include/bits/fcntl2.h:41:1: error: inlining failed in call to 'always_inline' 'open.localalias': function not inlinable 41 | open (const char *__path, int __oflag, ...) | ^ /usr/include/bits/fcntl2.h:53:14: note: called from here 53 | return __open_alias (__path, __oflag, __va_arg_pack ()); | ^ make[5]: *** [/var/tmp/portage/media-libs/zvbi-0.2.35-r2/temp/ccdjAbbB.mk:2: /var/tmp/portage/media-libs/zvbi-0.2.35-r2/temp/ccppweGo.ltrans0.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. Please try narrow down which flag causes it. (In reply to Sam James from comment #3) > Please try narrow down which flag causes it. I will try, there a lot of flags to test with so it could take a while I, also, encountered this error. Not using exactly same flags, but without -fno-semantic-interposition zvbi compile fine with lto. Maybe, is this gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270 ? (In reply to Cănărău Constantin from comment #5) > I, also, encountered this error. Not using exactly same flags, but without > -fno-semantic-interposition zvbi compile fine with lto. > Maybe, is this gcc bug: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270 ? Yeah, it is. |