Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795111 - sys-libs/glibc-2.33 - ./.../libc-symbols.h: error: #error glibc cannot be compiled without optimization
Summary: sys-libs/glibc-2.33 - ./.../libc-symbols.h: error: #error glibc cannot be com...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-09 16:13 UTC by Toralf Förster
Modified: 2021-06-09 16:19 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.16 KB, text/plain)
2021-06-09 16:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,14.12 KB, text/plain)
2021-06-09 16:13 UTC, Toralf Förster
Details
environment (environment,144.35 KB, text/plain)
2021-06-09 16:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.11 KB, application/x-bzip)
2021-06-09 16:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.65 KB, application/x-bzip)
2021-06-09 16:13 UTC, Toralf Förster
Details
sys-libs:glibc-2.33:20210609-143619.log (sys-libs:glibc-2.33:20210609-143619.log,66.96 KB, text/plain)
2021-06-09 16:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,46.15 KB, application/x-bzip)
2021-06-09 16:13 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 2021-06-09 16:13:38 UTC
	  ../sysdeps/i386/tlsdesc.sym > /var/tmp/portage/sys-libs/glibc-2.33/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.hT
In file included from <command-line>:
./../include/libc-symbols.h:75:3: error: #error "glibc cannot be compiled without optimization"
   75 | # error "glibc cannot be compiled without optimization"
      |   ^~~~~
In file included from <command-line>:
./../include/libc-symbols.h:75:3: error: #error "glibc cannot be compiled without optimization"

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j3-20210609-113339

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
Python 3.9.5
Available Rust versions:
  [1]   rust-bin-1.52.1 *
  HEAD of ::gentoo
commit d370f60e093107306c111c6c1bcd73016817f4e4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 9 11:35:22 2021 +0000

    2021-06-09 11:35:21 UTC

emerge -qpvO sys-libs/glibc
[ebuild   R   ] sys-libs/glibc-2.33  USE="(crypt) custom-cflags* multiarch (multilib) profile* ssp (static-libs) -audit -caps (-cet) -compile-locales -doc -gd -headers-only -multilib-bootstrap -nscd (-selinux) -static-pie -suid -systemtap -test (-vanilla)"
Comment 1 Toralf Förster gentoo-dev 2021-06-09 16:13:39 UTC
Created attachment 714939 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-09 16:13:40 UTC
Created attachment 714942 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-09 16:13:42 UTC
Created attachment 714945 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-09 16:13:43 UTC
Created attachment 714948 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-09 16:13:44 UTC
Created attachment 714951 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-09 16:13:45 UTC
Created attachment 714954 [details]
sys-libs:glibc-2.33:20210609-143619.log
Comment 7 Toralf Förster gentoo-dev 2021-06-09 16:13:47 UTC
Created attachment 714957 [details]
temp.tar.bz2
Comment 8 Mike Gilbert gentoo-dev 2021-06-09 16:19:24 UTC
You have USE="custom-cflags", and your CFLAGS do not contain "-O".

Either disable the USE flag, or fix your CFLAGS.