Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938013 - sys-libs/ncurses-6.5_p20240615 - [ncurses-6.5] [gcc-15] (.text+<snip>): undefined reference to main
Summary: sys-libs/ncurses-6.5_p20240615 - [ncurses-6.5] [gcc-15] (.text+<snip>): undef...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard: uhm... no clue
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-16 15:35 UTC by Toralf Förster
Modified: 2025-03-21 07:49 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.34 KB, text/plain)
2024-08-16 15:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,2.58 KB, text/plain)
2024-08-16 15:35 UTC, Toralf Förster
Details
environment (environment,112.61 KB, text/plain)
2024-08-16 15:35 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.41 KB, application/x-xz)
2024-08-16 15:35 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,18.61 KB, application/x-xz)
2024-08-16 15:35 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,47.99 KB, text/plain)
2024-08-16 15:35 UTC, Toralf Förster
Details
sys-libs:ncurses-6.5_p20240615:20240815-205910.log.xz (sys-libs:ncurses-6.5_p20240615:20240815-205910.log.xz,23.64 KB, application/x-xz)
2024-08-16 15:35 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-08-16 15:35:49 UTC
too long lines were shrinked:

a - ../objects/cursesapp.o
a - ../objects/cursesmain.o
x86_64-pc-linux-gnu-ranlib ../lib/libncurses++.a
compiling demo (obj_s)
x86_64-pc-linux-gnu-g++  -o demo ../obj_s/demo.o -L../lib -lncurses++ -L../lib -lform -lmenu -lpanel -lncurses -ltinfo  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -lutil     -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I/var/tmp/portage/sys-li
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../lib64/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: ../obj_s/demo.o: in function `TestApplication::init_labels(Soft_Label_Key_Set&) const':
demo.cc:(.text+0x67): undefined reference to `Soft_Label_Key_Set::operator[](int)'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_test-20240815-162645

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
Python 3.12.3
Available Rust versions:
  [1]   rust-bin-1.79.0 *
php cli (if any):

  HEAD of ::gentoo
commit ec208fa6fe59028b930bf22bec66ab24b5e59703
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 15 18:18:52 2024 +0000

    2024-08-15 18:18:52 UTC

emerge -qpvO =sys-libs/ncurses-6.5_p20240615
[ebuild     U ] sys-libs/ncurses-6.5_p20240615 [6.4_p20240414] USE="cxx gpm stack-realign (tinfo) -ada -debug -doc -minimal -profile (-split-usr) -static-libs -test -trace -verify-sig" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-08-16 15:35:50 UTC
Created attachment 900254 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-16 15:35:50 UTC
Created attachment 900255 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-16 15:35:51 UTC
Created attachment 900256 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-16 15:35:53 UTC
Created attachment 900257 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-16 15:35:53 UTC
Created attachment 900258 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-16 15:35:54 UTC
Created attachment 900259 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-08-16 15:35:55 UTC
Created attachment 900260 [details]
sys-libs:ncurses-6.5_p20240615:20240815-205910.log.xz
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2024-10-25 12:20:18 UTC
Whatever it is, it's not C99