Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] Segfaults after recompilation of libc

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
tkzv
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Fri Aug 22, 2014 6:56 pm

[SOLVED] Segfaults after recompilation of libc

  • Quote

Post by tkzv » Mon Mar 16, 2026 3:22 pm

During an update various programs started segfaulting. This may have started after sys-libs/glibc was updated to 2.42-r5.

The dmesg lines are

Code: Select all

syncqt[19434]: segfault at 1 ip 0000000000000001 sp 00007ffcdabd3a08 error 14 likely on CPU 0 (core 0, socket 0)
Code: Unable to access opcode bytes at 0xffffffffffffffd7.
I compiled everything with CFLAGS="-O2 -pipe -march=native" and CPU_FLAGS_X86="aes avx f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" and it worked fine until today. What is wrong?

emerge --info: https://paste.gentoo.zip/od5hFXwS
(I added nostrip after this all started, it did not affect segfaults for qtbase files)

UPDATE: All problematic programs were required for building new Qt or KDE packages. All of them give the error "'segfault at 1 ip 0000000000000001". Could this be a GCC problem?

ANSWER: There were 2 libc.so.6 files — /usr/lib64/libc.so.6 (left from autumn profile switch, complicated by hardware failures, AFAIR) and /lib64/libc.so.6 (correct). Some programs seemed to have used the wrong library. The affected packages include dev-qt/qtbase, dev-lang/tcl, dev-libs/protobuf.
Top
Post Reply
1 post • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic