Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

emerge arts Segmentation fault

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
thardy01
Tux's lil' helper
Tux's lil' helper
Posts: 77
Joined: Mon Aug 05, 2002 6:13 pm

emerge arts Segmentation fault

  • Quote

Post by thardy01 » Mon Jan 22, 2007 1:48 am

Well the topic tells the problem :( Was trying to install Kde on a fresh ~amd64 install, when it gets to arts it segfaults.

Code: Select all

/bin/sh ../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../mcop -I../../artsc -I../../flow -I../../flow/gsl -I../../flow -I../../mcop -I../../mcop -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I../../libltdl  -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -c -o datahandle.lo datahandle.cpp
/bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99    -o libgslpp.la   datahandle.lo  
make[3]: Leaving directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5/flow/gslpp'
make[3]: Entering directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5/flow'
../mcopidl/mcopidl -t ../flow/artsflow.idl
../mcopidl/mcopidl -t ../flow/artsflow.idl
make[3]: *** [artsflow.h] Segmentation fault
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [artsflow.cc] Segmentation fault
make[3]: Leaving directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-3.5.5 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 4737:   Called src_compile
  arts-3.5.5.ebuild, line 71:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! died running emake, kde_src_compile:make
If anybody has any suggestions on what to try id appreciate it. Also if you need anymore info let me know and ill post it thanks again.
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Mon Jan 22, 2007 7:44 am

Try reemerging kde-base/arts with MAKEOPTS="-j1", it should at least provide clearer diagnostic data.
Top
thardy01
Tux's lil' helper
Tux's lil' helper
Posts: 77
Joined: Mon Aug 05, 2002 6:13 pm

  • Quote

Post by thardy01 » Mon Jan 22, 2007 2:41 pm

Thanks for the help desultory I did as you said and here is the output

Code: Select all

/bin/sh ../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../mcop -I../../artsc -I../../flow -I../../flow/gsl -I../../flow -I../../mcop -I../../mcop -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I../../libltdl  -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -c -o datahandle.lo datahandle.cpp
/bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99    -o libgslpp.la   datahandle.lo  
make[3]: Leaving directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5/flow/gslpp'
make[3]: Entering directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5/flow'
../mcopidl/mcopidl -t ../flow/artsflow.idl
make[3]: *** [artsflow.cc] Segmentation fault
make[3]: Leaving directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/arts-3.5.5/work/arts-1.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-3.5.5 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 4739:   Called src_compile
  arts-3.5.5.ebuild, line 71:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! died running emake, kde_src_compile:make
Hopefully someone with more knowledge than me can tell me whats going on.
Top
Assgier
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Wed May 28, 2003 12:37 am
Location: Europe -> Netherlands -> Utrecht -> Amersfoort

  • Quote

Post by Assgier » Sat Mar 03, 2007 11:13 pm

I've been having the exact same problem (on x86) in the past week since upgrading glibc, gcc, gentoo-sources (kernel) and linux-headers..

mcopidl by default uses NPTL (Native POSIX Threading Library) thus libraries from /lib/tls/. After a week of non-stop (re)compiling, googling and ofcourse searching the gentoo-forums, i today started doing backtraces using ldd and gdb. After a while i suddenly noted that it was using /usr/lib/libc.so.6 instead of /lib/tls/libc.so.6. The /usr/lib/libc.so.6 was a symlink to /lib/libc.so.6, the old and deprecated linuxthreads library. So that was the cause; mcopidl was using all NPTL libraries from /lib/tls/, except for libc.so.6. That's ofcourse not going to work, causing a segfault...

After removing /usr/lib/libc.so.6 the segfault problem was solved.

You should try that as well :)
8)
Top
Post Reply

4 posts • Page 1 of 1

Return to “Desktop Environments”

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