Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893600 - =sys-libs/ncurses-6.3_p20221203-r2[ada] build fail
Summary: =sys-libs/ncurses-6.3_p20221203-r2[ada] build fail
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-08 11:15 UTC by cpu
Modified: 2023-02-09 20:19 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,19.88 KB, application/x-xz)
2023-02-08 11:15 UTC, cpu
Details
emerge --info (file_893600.txt,6.60 KB, text/plain)
2023-02-08 11:16 UTC, cpu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cpu 2023-02-08 11:15:24 UTC
Created attachment 850152 [details]
build.log.xz

I trying to build ncurses with use flag "ada" enabled and got error:

gcc -c -I/media/hdd0/portage/tmpdir/portage/sys-libs/ncurses-6.3_p20221203-r2/work/ncurses-6.3/Ada95/src/ -O2 -march=native -pipe -fomit-frame-pointer -gnatpn -O2 -I. -I/media/hdd0/portage/tmpdir/portage/sys-libs/ncurses-6.3_p20221203-r2/work/ncurses-6.3/Ada95/src -I- /media/hdd0/portage/tmpdir/portage/sys-libs/ncurses-6.3_p20221203-r2/work/ncurses-6.3/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.adb
raised STORAGE_ERROR : stack overflow or erroneous memory access

My actions:
> Emerge gnat-gpl 2021-r4
> Switch to gcc 10 with eselect
> Turn on "ada" use flag to gcc-12
> Rebuild gcc-12 with "ada" use enabled
> Remove gnat-gpl
> Enable "ada" use flag to ncurses
> Try to rebuild ncurses with "ada" use enabled and got compile error
Comment 1 cpu 2023-02-08 11:16:46 UTC
Created attachment 850154 [details]
emerge --info