Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940541 - x11-libs/motif-2.3.8-r6 - [gcc-15] (.text+<snip>): undefined reference to main
Summary: x11-libs/motif-2.3.8-r6 - [gcc-15] (.text+<snip>): undefined reference to main
Status: RESOLVED DUPLICATE of bug 592868
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-09-30 17:50 UTC by Toralf Förster
Modified: 2024-10-01 04:53 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.26 KB, text/plain)
2024-09-30 17:50 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,57.83 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
environment (environment,115.73 KB, text/plain)
2024-09-30 17:50 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,57.08 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,12.57 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,66.86 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,46.86 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
x11-libs:motif-2.3.8-r6:20240930-044901.log.xz (x11-libs:motif-2.3.8-r6:20240930-044901.log.xz,18.75 KB, application/x-xz)
2024-09-30 17:50 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-09-30 17:50:27 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/tools/wml -I../../include -I../../lib/Xm -I../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/tools/wml/../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/w
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/tools/wml -I../../include -I../../lib/Xm -I../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/tools/wml/../../lib -I/var/tmp/por
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/tools/wml -I../../include -I../../lib/Xm -I../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/tools/wml/../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/w
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-r
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,--defsym=__gentoo_c
/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'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:498: wmluiltok] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240925-080506

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 19.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.0
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit fa919f2635991510eca32c35cfc32ac2832a8ee7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 30 03:36:14 2024 +0000

    2024-09-30 03:36:13 UTC

emerge -qpvO =x11-libs/motif-2.3.8-r6
[ebuild  N    ] x11-libs/motif-2.3.8-r6  USE="motif22-compatibility unicode -examples -jpeg -png -static-libs -xft"
Comment 1 Toralf Förster gentoo-dev 2024-09-30 17:50:28 UTC
Created attachment 904276 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-30 17:50:29 UTC
Created attachment 904277 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-09-30 17:50:30 UTC
Created attachment 904278 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-30 17:50:31 UTC
Created attachment 904279 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-30 17:50:32 UTC
Created attachment 904280 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-30 17:50:33 UTC
Created attachment 904281 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-30 17:50:34 UTC
Created attachment 904282 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-30 17:50:35 UTC
Created attachment 904283 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-09-30 17:50:36 UTC
Created attachment 904284 [details]
x11-libs:motif-2.3.8-r6:20240930-044901.log.xz
Comment 10 Ulrich Müller gentoo-dev 2024-10-01 04:53:42 UTC

*** This bug has been marked as a duplicate of bug 592868 ***