Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941521 - media-gfx/chafa-1.14.1 fails to compile: chafa-avx2.c:99:19: error: implicit declaration of function _mm_extract_epi64 [-Wimplicit-function-declaration]
Summary: media-gfx/chafa-1.14.1 fails to compile: chafa-avx2.c:99:19: error: implicit ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: gcc-14-stable 944672
  Show dependency tree
 
Reported: 2024-10-14 09:23 UTC by Agostino Sarubbo
Modified: 2025-02-20 12:49 UTC (History)
0 users

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


Attachments
build.log (build.log,95.65 KB, text/plain)
2024-10-14 09:23 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 2024-10-14 09:23:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/chafa-1.14.1 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-14 09:23:02 UTC
Created attachment 905781 [details]
build.log

build log and emerge --info
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2024-11-18 23:56:08 UTC
chafa-avx2.c: In function 'calc_colors_avx2':
chafa-avx2.c:99:19: error: implicit declaration of function '_mm_extract_epi64'; did you mean '_mm_extract_epi32'? [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]]
   99 |         (guint64) _mm_extract_epi64 (accum_bg_128, 0)
      |                   ^~~~~~~~~~~~~~~~~
      |                   _mm_extract_epi32
make[5]: *** [Makefile:675: libchafa_avx2_la-chafa-avx2.lo] Error 1

I doubt this is c99 related.

On a first glance this looks like confusion because a 32bit build is done on a compiler that supports avx2 intrinsics ...
Comment 3 Larry the Git Cow gentoo-dev 2025-02-20 12:48:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc9bedcfbc8f16af7dfecddaf25f1b2fe75946aa

commit cc9bedcfbc8f16af7dfecddaf25f1b2fe75946aa
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2025-02-20 12:21:57 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2025-02-20 12:48:13 +0000

    media-gfx/chafa: add 1.14.5
    
    Closes: https://bugs.gentoo.org/941521
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 media-gfx/chafa/Manifest            |  1 +
 media-gfx/chafa/chafa-1.14.5.ebuild | 51 +++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
Comment 4 Viorel Munteanu gentoo-dev 2025-02-20 12:49:43 UTC
Fixed by upstream in 1.14.2.