View previous topic :: View next topic |
Author |
Message |
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Mon Sep 24, 2007 5:15 pm Post subject: Code::Blocks live svn ebuild - Part 2 |
|
|
Hi all,
This is CODE::BLOCKS SVN overlay - Part 2.
I'm just trying to maintain the ebuild from the original topic thread : Code::Blocks live svn ebuild by Tiger683.
As StifflerStealth requested a new thread for making C::B a lot easier for people, here it is.
I will update this first post with the latest info/ebuilds/where to get links for Code::Blocks.
Hope it works for you, too.
The open source, cross platform Free C++ IDE
Code::Blocks is a free C++ IDE built specifically to meet the most demanding needs of its users.
It is designed, right from the start, to be very extensible and fully configurable.
Where to Get
Now this live ebuild is in portage. Thanks to dirtyepic.
When posting ebuild/build bugs, please provide:
-Attach the revision of the overlay and C::B
-Attach the output of "emerge --info =dev-util/codeblocks-9999"
Before updating C::B
If you have a working C::B, like any live ebuilds, make a binary package of it:
Code: |
quickpkg codeblocks
|
This makes a working binary package for portage, thus if something goes bad after update,
you can install this last working one without compiling like this:
Code: |
emerge -vk1 codeblocks
|
The Change Logs
- Since C::B svn uses the wxwidgets 2.8.x for default, now this ebuild works with it, too.
I included "wxGTK-2.8.4.0" ebuild and "wxwidgets.eclass" from Sabayon overlay
- Autorevision now works. Fixed with codeblocks-9999-r17. C::B displays revision number correctly
- contrib flag is adjusted for the latest C::B sources
- (05.10.07) Now C::B emerges with or without the contrib useflag.
- (26.10.07) updated to "wxGTK-2.8.6.0" ebuild and "wxwidgets.eclass".
- (27.11.07) Autorevision fix. C::B displays not only revision number, but also revision date and time correctly now.
- (03.12.07) Rev18. codeblocks-9999-r18 uses wxGTK-2.8.6.x that's in portage. Unicode only.
- (06.12.07) Rev18. Autorevision fix. cleaned code. update_revision.sh is used for autorevision.
- (06.02.08 ) Rev19. No more QA Warnings. Cleaned code for new portage behavior. No need for the digest files, anymore.
- (13.09.08 ) Rev19. A little useflag cleaning.
- (14.12.08 ) Rev20. Minor changes and cleaning up. ChangeLog is included. Older ebuilds are removed.
- (15.03.09 ) Rev21. Now ebuild uses EAPI=2. Minor changes and cleaning up. Rev20 is also included.
- (11.12.09 ) Dropped the rev numbers. Massive clean up (thanks to guys at sunrise). It is in its best state.
- (12.06.10 ) Fixed libtool dependency slot change.
- (02.07.10 ) Now, ebuild is in portage. Thanks go to dirtyepic.
_________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Last edited by keenblade on Sun Jul 04, 2010 10:14 pm; edited 41 times in total |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Mon Sep 24, 2007 5:44 pm Post subject: |
|
|
thank you for maintaining this useful ebuild _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Mon Sep 24, 2007 6:26 pm Post subject: |
|
|
Thanks. Everything on the first post makes it much easier to follow change logs and updates and read about the latest news for the ebuilds. Thanks for your hard work and now it's compile time.
Cheers. |
|
Back to top |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Tue Sep 25, 2007 12:16 am Post subject: |
|
|
Just to let you know, CodeBlocks and wxGTK compiles and works perfectly. Thanks for the ebuilds. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue Sep 25, 2007 6:33 pm Post subject: |
|
|
Hello,
I have a segfault when I try the menu Help/About Code: | *** glibc detected *** codeblocks: free(): invalid pointer: 0x0000000001444930 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b1d756b80ec]
/lib/libc.so.6(cfree+0x76)[0x2b1d756b9e06]
/usr/lib/libglib-2.0.so.0(g_free+0x23)[0x2b1d7260ad13]
/usr/lib/libwx_gtk2u_core-2.8.so.0[0x2b1d73efe3c9]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN18wxButtonXmlHandler16DoCreateResourceEv+0x23f)[0x2b1d732a026f]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1a7)[0x2b1d732dd9f7]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x477)[0x2b1d732e5877]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16Handle_sizeritemEv+0xcc)[0x2b1d732c66fc]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1a7)[0x2b1d732dd9f7]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x49d)[0x2b1d732e589d]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateChildrenEP8wxObjectb+0x124)[0x2b1d732e5be4]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler12Handle_sizerEv+0x140)[0x2b1d732c70c0]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1a7)[0x2b1d732dd9f7]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x477)[0x2b1d732e5877]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateChildrenEP8wxObjectb+0x124)[0x2b1d732e5be4]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN18wxDialogXmlHandler16DoCreateResourceEv+0x3cd)[0x2b1d732aadad]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1a7)[0x2b1d732dd9f7]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x477)[0x2b1d732e5877]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource10LoadDialogEP8wxDialogP8wxWindowRK8wxString+0x68)[0x2b1d732e6278]
codeblocks[0x435d1e]
codeblocks(_ZN9MainFrame11OnHelpAboutER14wxCommandEvent+0x29)[0x445299]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x7d)[0x2b1d748208ad]
/usr/lib/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0x9b)[0x2b1d74820a6b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xad)[0x2b1d74820bad]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x50)[0x2b1d74820b50]
/usr/lib/libwx_baseu-Abandon |
Is it also by you? It crashes in ~x86 (Pentium M) and ~amd64.
I don't know if it is a C::B bug, wxGTK or a local corrupted Gentoo _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
Deusexodus Tux's lil' helper
Joined: 30 May 2005 Posts: 124 Location: Paris
|
Posted: Tue Sep 25, 2007 7:20 pm Post subject: |
|
|
Hi, me I have this problem and I don't know how to fix it.
Do you have any ideas ?
Code: | >>> Emerging (1 of 1) dev-util/codeblocks-9999-r17 to /
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Using /usr/lib/wx/config/gtk2-unicode-release-2.8
>>> Unpacking source...
* subversion update start -->
* repository: svn://svn.berlios.de/codeblocks/trunk
À la révision 4491.
* working copy: /usr/portage/distfiles/svn-src/codeblocks-9999/trunk
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-util/codeblocks-9999-r17/work/codeblocks-9999 ...
svn: '.' n'est pas une copie de travail
svn: '.' n'est pas une copie de travail
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/base/tinyxml/Makefile.am: installing `./depcomp'
* Running eautoreconf in '/var/tmp/portage/dev-util/codeblocks-9999-r17/work/codeblocks-9999' ...
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
* Running elibtoolize in: codeblocks-9999
* Applying install-sh-1.5.4.patch ...
* Applying sed-1.5.6.patch ...
* Changing properties ...
svn: '.' n'est pas une copie de travail
svn: '.' n'est pas une copie de travail
* econf: updating codeblocks-9999/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating codeblocks-9999/src/plugins/contrib/wxSmithContribItems/wxthings/wxthings/build/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating codeblocks-9999/src/plugins/contrib/wxSmithContribItems/wxthings/wxthings/build/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating codeblocks-9999/src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/build/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating codeblocks-9999/src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/build/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating codeblocks-9999/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.8 --enable-dependency-tracking --disable-contrib --enable-unicode --disable-xrc --disable-monolithic --disable-debug --disable-static --without-contrib-plugins=all --build=i686-pc-linux-gnu
configure: error: invalid package name: contrib-plugins=all
*
* ERROR: dev-util/codeblocks-9999-r17 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* codeblocks-9999-r17.ebuild, line 73: Called econf '--with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.8' '--enable-dependency-tracking' '--disable-contrib' '--enable-unicode' '--disable-xrc' '--disable-monolithic' '--disable-debug' '--disable-static' '--without-contrib-plugins=all'
* ebuild.sh, line 591: Called die
*
* econf failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-util/codeblocks-9999-r17/temp/build.log'.
* This ebuild used the following eclasses from overlays:
* /usr/local/portage/eclass/wxwidgets.eclass
* This ebuild is from an overlay: '/usr/local/portage/' |
Thanks.
EDIT : I compil' wxGTK 2.6.4 fine but codeblocks stop. _________________ Lenovo x220 | Lenovo S12 | Hp mini 2133 | Via VB8001 |
|
Back to top |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Tue Sep 25, 2007 10:01 pm Post subject: |
|
|
XavierMiller wrote: | Is it also by you? It crashes in ~x86 (Pentium M) and ~amd64.
I don't know if it is a C::B bug, wxGTK or a local corrupted Gentoo | I don't have that segfault. I opened CodeBlocks, went to Help --> About and it it worked just fine. I had the proper screen and all the colorful graphics. It's working perfectly for me being a Live ebuild. Maybe you checked it out when a change was made that broke About?
To both XavierMiller and Deusexodus: You can try waiting a day and recheck out the source to see if that helps, or you can set up /etc/portage/env with compiler flags that are really conservative.
cd to /etc/portage/env (make the dir env if you don't have it)
mkdir dev-util
mkdir x11-libs
now nano -w basic (you can call this whatever you want)
Paste into basic something like this:
Quote: | CFLAGS="-O2 -march={Whatever your arch is} -fweb -freorder-blocks -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1" | Well, this is what I have and it works. Well, except my arch is "-march=pentium4".
Now cd to dev-util
ln -s ../basic codeblocks
next cd to ../x11-libs
ln -s ../basic wxGTK
Recompile wxGTK and codeblocks and see if this helps. if you did that correctly, emerge will use the compiler settings in env/basic which work for me. This way there is no chance of a rouge flag breaking something. I did this from the start because it's a live ebuild and live source tends to be rather touchy about what it can be compiled with.
I hope these instructions were clear enough. Good luck. |
|
Back to top |
|
|
MageSlayer Apprentice
Joined: 26 Jul 2007 Posts: 252 Location: Ukraine
|
Posted: Wed Sep 26, 2007 7:54 am Post subject: |
|
|
Same issue as Deusexodus has. |
|
Back to top |
|
|
Deusexodus Tux's lil' helper
Joined: 30 May 2005 Posts: 124 Location: Paris
|
Posted: Wed Sep 26, 2007 9:09 am Post subject: |
|
|
I follow you have, in the way to give these specials CFLAGS to these two packages, but I have already this problem. wxGTK-2.8.4 compil correctly but not codeblocks which have the same error.
@+ _________________ Lenovo x220 | Lenovo S12 | Hp mini 2133 | Via VB8001 |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Thu Sep 27, 2007 8:25 am Post subject: |
|
|
Deusexodus wrote: | Hi, me I have this problem and I don't know how to fix it.
Do you have any ideas ?
EDIT : I compil' wxGTK 2.6.4 fine but codeblocks stop. |
Your problem is easy to fix. I'll be at home today and look into it.
Temporarily, you can disable contrib flag until I fix it again.
XavierMiller wrote: | Hello,
I have a segfault when I try the menu Help/About...
|
Remove /usr/portage/distfiles/svn-src/codeblocks-9999 and emerge again. If it does not work, just wait some time and try again. The code probably will be fixed after some commits to the code. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Thu Sep 27, 2007 3:49 pm Post subject: |
|
|
Hello,
My "glibc detected double free or corruption" problem can be work-arounded by calling Code: | MALLOC_CHECK_=0 codeblocks | so there could be memory leaks in the code. You can check it by setting that glibc variable to 1. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Thu Sep 27, 2007 9:35 pm Post subject: |
|
|
Deusexodus and MageSlayer, could you enable contrib useflag for C::B and try again?
If it does not work also try this:
Code: |
LC_ALL=C emerge -v1 codeblocks
|
_________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Last edited by keenblade on Fri Sep 28, 2007 5:31 am; edited 1 time in total |
|
Back to top |
|
|
Deusexodus Tux's lil' helper
Joined: 30 May 2005 Posts: 124 Location: Paris
|
Posted: Thu Sep 27, 2007 10:34 pm Post subject: |
|
|
Same problem again. I have tried the two maneers but no one fix my problem.
@+ _________________ Lenovo x220 | Lenovo S12 | Hp mini 2133 | Via VB8001 |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Fri Sep 28, 2007 5:39 am Post subject: |
|
|
Deusexodus wrote: | Same problem again. I have tried the two maneers but no one fix my problem.
@+ |
It must not be the same. Could you provide?
Code: | emerge --info
emerge -vp wxGTK
emerge -vp codeblocks
and the build.log |
_________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
MageSlayer Apprentice
Joined: 26 Jul 2007 Posts: 252 Location: Ukraine
|
Posted: Sat Sep 29, 2007 8:02 pm Post subject: |
|
|
Yeah, it seems that contrib flag started working. Thanks!
P.S. I use paludis |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Fri Oct 05, 2007 4:57 pm Post subject: |
|
|
@DeusExodus: enable the "contrib" use flag, the ebuild error came because contrib is not enabled. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Fri Oct 05, 2007 5:10 pm Post subject: |
|
|
XavierMiller wrote: | @DeusExodus: enable the "contrib" use flag, the ebuild error came because contrib is not enabled. |
Fixed. Now C::B emerges with or without the contrib useflag. Please redownload the ebuild, if you don't want to enable contrib useflag. But this useflag gives nice plugins like "wxsmith", so it is highly recommended to enable. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Fri Oct 05, 2007 5:28 pm Post subject: |
|
|
hello, is the file already updated ? the ebuild is dated 30 september _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Fri Oct 05, 2007 6:37 pm Post subject: |
|
|
XavierMiller wrote: | hello, is the file already updated ? the ebuild is dated 30 september |
Yes, I think so. Actually I updated it at 30 september for the contrib flag. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Fri Oct 05, 2007 7:01 pm Post subject: |
|
|
ok.
BTW I am still exporing my C::B crash.
I tried to compile it by hand from SVN. C::B runs OK with wxGTK-2.6.4.0, but crashes with wxGTK-2.8.4.0 (from Sabayon and code::blocks r17 zip)
I will try compiling wxGTK from -r16, then C::B from SVN and see what happens. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Fri Oct 05, 2007 7:14 pm Post subject: |
|
|
XavierMiller wrote: | ...wxGTK-2.6.4.0, but crashes with wxGTK-2.8.4.0 (from Sabayon and code::blocks r17 zip)
... |
Did you try to delete the .codeblocks dir under your user dir? _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Fri Oct 05, 2007 8:34 pm Post subject: |
|
|
yes.
I have the latest versions of ~x86 and ~amd64, and as overlays
- pro-audio
- sunrise
laptop in ~x86: | emerge --info
Portage 2.1.3.11 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r7 i686)
=================================================================
System uname: 2.6.22-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Fri, 05 Oct 2007 15:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.5.1-r2
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=pentium-m"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=pentium-m"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.UTF-8"
LC_ALL="fr_BE.UTF-8"
LINGUAS="fr fr_BE fr_BE.UTF-8 nl nl_BE nl_BE.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/overlays /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa amr berkdb bitmap-fonts bogofilter branding bzip2 cairo cdda cddb cdr cli contrib cracklib crypt ctype cups cvs dbus dell directfb dri dts dvd dvdr dvdread dvi emacs emboss encode esd evo fam fat fbcon ffmpeg firefox flac freetds gdbm gif glitz gpm gtk hal iconv ieee1394 imlib isdnlog jabber jack jackmidi java javascript jpeg jpeg2k kerberos ladspa libnotify mad matroska midi mikmod mmx mod modplug mozbranding mp3 mpeg msn mudflap musepack ncurses netjack nfs nls nosendmail nptl nptlonly nsplugin ntfs nxclient offensive ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support quicktime readline reflection rtsp samba sdl session sid slang sndfile sound speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis vst wavpack win32codecs wma wxwindows x264 x86 xch xcomposite xml xorg xosd xrc xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0 usb-audio virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_BE fr_BE.UTF-8 nl nl_BE nl_BE.UTF-8" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
_________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Fri Oct 05, 2007 9:01 pm Post subject: |
|
|
I have noticed over the past 5 years of using Gentoo, that some rare crashes that no one else seems to have are fixed by setting the make opts to "-j1" instead of the usual num_of_cpus plus one. I have my entire system compiled with -j1 and I don't have that crash and most stuff is compiled with pretty risky flags, which is why I have /etc/portage/env set up the way it is as mentioned in a previous post. You might want to try compiling wxpython and codeblocks with minimal flags and -j1, just to see if that compiles things so they don't crash.
Good luck. |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Fri Oct 05, 2007 10:26 pm Post subject: |
|
|
even with MAKEOPTS="-j1" and ccache deactivated
Code: | *** glibc detected *** codeblocks: double free or corruption (!prev): 0x08bd81c0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb6581a8f]
/lib/libc.so.6(cfree+0x89)[0xb65837a9]
/usr/lib/libglib-2.0.so.0(g_free+0x3d)[0xb7428d5d]
======= Memory map: ========
08048000-080cf000 r-xp 00000000 08:14 198068 /usr/bin/codeblocks
080cf000-080d2000 r--p 00086000 08:14 198068 /usr/bin/codeblocks
080d2000-080d5000 rw-p 00089000 08:14 198068 /usr/bin/codeblocks
080d5000-08c01000 rw-p 080d5000 00:00 0 [heap]
b1f00000-b1f21000 rw-p b1f00000 00:00 0
b1f21000-b2000000 ---p b1f21000 00:00 0
b2052000-b2053000 ---p b2052000 00:00 0
b2053000-b2853000 rw-p b2053000 00:00 0
b2853000-b2860000 r--p 00000000 08:14 1066458 /usr/share/fonts/ttf-bitstream-vera/VeraMono.ttf
b2860000-b2881000 r-xp 00000000 08:14 248544 /usr/share/codeblocks/plugins/libtodo.so
b2881000-b2882000 r--p 00021000 08:14 248544 /usr/share/codeblocks/plugins/libtodo.so
b2882000-b2884000 rw-p 00022000 08:14 248544 /usr/share/codeblocks/plugins/libtodo.so
b2884000-b289c000 r-xp 00000000 08:14 248540 /usr/share/codeblocks/plugins/libdragscroll.so
b289c000-b289e000 rw-p 00018000 08:14 248540 /usr/share/codeblocks/plugins/libdragscroll.so
b289e000-b2930000 r-xp 00000000 08:14 248538 /usr/share/codeblocks/plugins/libcodesnippets.so
b2930000-b2934000 r--p 00091000 08:14 248538 /usr/share/codeblocks/plugins/libcodesnippets.so
b2934000-b2937000 rw-p 00095000 08:14 248538 /usr/share/codeblocks/plugins/libcodesnippets.so
b2937000-b2938000 rw-p b2937000 00:00 0
b2938000-b294d000 r-xp 00000000 08:14 248550 /usr/share/codeblocks/plugins/libcb_koders.so
b294d000-b294f000 rw-p 00015000 08:14 248550 /usr/share/codeblocks/plugins/libcb_koders.so
b294f000-b298b000 r-xp 00000000 08:14 248536 /usr/share/codeblocks/plugins/libkeybinder.so
b298b000-b298c000 r--p 0003b000 08:14 248536 /usr/share/codeblocks/plugins/libkeybinder.so
b298c000-b298e000 rw-p 0003c000 08:14 248536 /usr/share/codeblocks/plugins/libkeybinder.so
b298e000-b29bc000 r-xp 00000000 08:14 248560 /usr/share/codeblocks/plugins/libbyogames.so
b29bc000-b29bd000 r--p 0002e000 08:14 248560 /usr/share/codeblocks/plugins/libbyogames.so
b29bd000-b29bf000 rw-p 0002f000 08:14 248560 /usr/share/codeblocks/plugins/libbyogames.so
b29bf000-b29ca000 r-xp 00000000 08:14 248520 /usr/share/codeblocks/plugins/libRegExTestbed.so
b29ca000-b29cc000 rw-p 0000a000 08:14 248520 /usr/share/codeblocks/plugins/libRegExTestbed.so
b29cc000-b2b23000 r-xp 00000000 08:14 248558 /usr/share/codeblocks/plugins/libcompiler.so
b2b23000-b2b25000 r--p 00156000 08:14 248558 /usr/share/codeblocks/plugins/libcompiler.so
b2b25000-b2b27000 rw-p 00158000 08:14 248558 /usr/share/codeblocks/plugins/libcompiler.so
b2b27000-b2b29000 rw-p b2b27000 00:00 0
b2b29000-b2b41000 r-xp 00000000 08:14 248552 /usr/share/codeblocks/plugins/libSymTab.so
b2b41000-b2b43000 rw-p 00018000 08:14 248552 /usr/share/codeblocks/plugins/libSymTab.so
b2b43000-b2b5c000 r-xp 00000000 08:14 248542 /usr/share/codeblocks/plugins/liblib_finder.so
b2b5c000-b2b5e000 rw-p 00019000 08:14 248542 /usr/share/codeblocks/plugins/liblib_finder.so
b2b5e000-b2b71000 r-xp 00000000 08:14 248546 /usr/share/codeblocks/plugins/libcodestat.so
b2b71000-b2b73000 rw-p 00013000 08:14 248546 /usr/share/codeblocks/plugins/libcodestat.so
b2b73000-b2b8d000 r-xp 00000000 08:14 248512 /usr/share/codeblocks/plugins/libenvvars.so
b2b8d000-b2b8f000 rw-p 00019000 08:14 248512 /usr/share/codeblocks/plugins/libenvvars.so
b2b8f000-b2bbe000 r-xp 00000000 08:14 248518 /usr/share/codeblocks/plugins/libastyle.so
b2bbe000-b2bc0000 rw-p 0002f000 08:14 248518 /usr/share/codeblocks/plugins/libastyle.so
b2bc0000-b2bc1000 ---p b2bc0000 00:00 0
b2bc1000-b33c1000 rw-p b2bc1000 00:00 0
b33c1000-b3470000 r-xp 00000000 08:14 248554 /usr/share/codeblocks/plugins/libcodecompletion.so
b3470000-b3472000 r--p 000af000 08:14 248554 /usr/share/codeblocks/plugins/libcodecompletion.so
b3472000-b3474000 rw-p 000b1000 08:14 248554 /usr/share/codeblocks/plugins/libcodecompletion.so
b3474000-b347d000 rw-p b3474000 00:00 0
b347d000-b3495000 r-xp 00000000 08:14 248528 /usr/share/codeblocks/plugins/libProfiler.so
b3495000-b3497000 rw-p 00018000 08:14 248528 /usr/share/codeblocks/plugins/libProfiler.so
b3497000-b34a5000 r-xp 00000000 08:14 248516 /usr/share/codeblocks/plugins/libdefaultmimehandler.so
b34a5000-b34a7000 rw-p 0000e000 08:14 248516 /usr/share/codeblocks/plugins/libdefaultmimehandler.so
b34a7000-b34b7000 r-xp 00000000 08:14 248514 /usr/share/codeblocks/plugins/libclasswizard.so
b34b7000-b34b9000 rw-p 00010000 08:14 248514 /usr/share/codeblocks/plugins/libclasswizard.so
b34b9000-b3506000 r-xp 00000000 08:14 248556 /usr/share/codeblocks/plugins/libhelp_plugin.so
b3506000-b3508000 r--p 0004c000 08:14 248556 /usr/share/codeblocks/plugins/libhelp_plugin.so
b3508000-b350a000 rw-p 0004e000 08:14 248556 /usr/share/codeblocks/plugins/libhelp_plugin.so
b350a000-b350d000 rw-p b350a000 00:00 0
b350d000-b35e5000 r-xp 00000000 08:14 248530 /usr/share/codeblocks/plugins/libexporter.so
b35e5000-b35e7000 r--p 000d7000 08:14 248530 /usr/share/codeblocks/plugins/libexporter.so
b35e7000-b35ee000 rw-p 000d9000 08:14 248530 /usr/share/codeblocks/plugins/libexporter.so
b35ee000-b364c000 r-xp 00000000 08:14 248526 /usr/share/codeblocks/plugins/libscriptedwizard.so
b364c000-b364f000 r--p 0005d000 08:14 248526 /usr/share/codeblocks/plugins/libscriptedwizard.so
b364f000-b3651000 rw-p 00060000 08:14 248526 /usr/share/codeblocks/plugins/libscriptedwizard.so
b3651000-b36ea000 r-xp 00000000 08:14 248564 /usr/share/codeblocks/plugins/libdebugger.so
b36ea000-b36ee000 r--p 00099000 08:14 248564 /usr/share/codeblocks/plugins/libdebugger.so
b36ee000-b36f0000 rw-p 0009d000 08:14 248564 /usr/share/codeblocks/plugins/libdebugger.so
b36f0000-b36f1000 rw-p b36f0000 00:00 0
b36f1000-b391f000 r-xp 00000000 08:14 99467 /usr/lib/libwxsmithlib.so.0.0.1
b391f000-b392d000 r--p 0022e000 08:14 99467 /usr/lib/libwxsmithlib.so.0.0.1
b392d000-b3930000 rw-p 0023c000 08:14 99467 /usr/lib/libwxsmithlib.so.0.0.1
b3930000-b3937000 rw-p b3930000 00:00 0
b393a000-b3945000 r-xp 00000000 08:14 248562 /usr/share/codeblocks/plugins/libautosave.so
b3945000-b3947000 rw-p 0000b000 08:14 248562 /usr/share/codeblocks/plugins/libautosave.so
b3947000-b3949000 r-xp 00000000 08:14 248548 /usr/share/codeblocks/plugins/libwxsmith.so
b3949000-b394b000 rw-p 00001000 08:14 248548 /usr/share/codeblocks/plugins/libwxsmith.so
b394b000-b398c000 r-xp 00000000 08:14 248532 /usr/share/codeblocks/plugins/libwxsmithcontribitems.so
b398c000-b398d000 r--p 00041000 08:14 248532 /usr/share/codeblocks/plugins/libwxsmithcontribitems.so
b398d000-b398f000 rw-p 00042000 08:14 248532 /usr/share/codeblocks/plugins/libwxsmithcontribitems.so
b398f000-b3990000 rw-p b398f000 00:00 0
b3990000-b39b7000 r-xp 00000000 08:14 248569 /usr/share/codeblocks/plugins/libprojectsimporter.so
b39b7000-b39b9000 rw-p 00027000 08:14 248569 /usr/share/codeblocks/plugins/libprojectsimporter.so
b39b9000-b39bf000 r-xp 00000000 08:14 720935 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b39bf000-b39c1000 rw-p 00005000 08:14 720935 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b39c1000-b39c2000 ---p b39c1000 00:00 0
b39c2000-b41c2000 rw-p b39c2000 00:00 0
b41c2000-b41c3000 ---p b41c2000 00:00 0
b41c3000-b49c3000 rw-p b41c3000 00:00 0
b49c3000-b49c4000 ---p b49c3000 00:00 0
b49c4000-b51c4000 rw-p b49c4000 00:00 0
b51c4000-b51c5000 ---p b51c4000 00:00 0
b51c5000-b59c5000 rw-p b51c5000 00:00 0
b59c5000-b5ac6000 r--p 00000000 08:14 891498 /usr/share/icons/hicolor/icon-theme.cache
b5ac6000-b6074000 r--p 00000000 08:14 951287 /usr/share/icons/Rodent/icon-theme.cache
b6074000-b60d4000 rw-s 00000000 00:08 4227086 /SYSV00000000 (deleted)
b60d5000-b60e5000 r-xp 00000000 08:14 134690 /lib/libbz2.so.1.0.4
b60e5000-b60e7000 rw-p 0000f000 08:14 134690 /lib/libbz2.so.1.0.4
b60e7000-b60ed000 r--p 00000000 08:14 886823 /usr/share/locale/fr/LC_MESSAGES/glib20.mo
b60ed000-b60fe000 r--p 00000000 08:14 1066455 /usr/share/fonts/ttf-bitstream-vera/Vera.ttf
b60fe000-b615e000 rw-s 00000000 00:08 4292624 /SYSV00000000 (deleted)
b6162000-b6171000 r--p 00000000 08:14 1066453 /usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf
b6171000-b6173000 r-xp 00000000 08:14 197045 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6173000-b6175000 rw-p 00001000 08:14 197045 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6175000-b6176000 r-xp 00000000 08:14 984538 /usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
b6176000-b6178000 rw-p 00000000 08:14 984538 /usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
b6178000-b61a2000 rw-p b6178000 00:00 0
b61a2000-b61a8000 r--s 00000000 08:14 66446 /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2
b61a8000-b61aa000 r--s 00000000 08:14 65563 /var/cache/fontconfig/76fa4b957c916922374347f144bde9da-x86.cache-2
b61aa000-b61ae000 r--s 00000000 08:14 65576 /var/cache/fontconfig/6355034d6588d5dc08dee953d4caf3fd-x86.cache-2
b61ae000-b61ba000 r--s 00000000 08:14 66456 /var/cache/fontconfig/221fd1126b80b777db535aea535e87ba-x86.cache-2
b61ba000-b61c0000 r--s 00000000 08:14 66447 /var/cache/fontconfig/12b26b760a24f8b4feb03ad48a333a72-x86.cache-2
b61c0000-b61cc000 r--s 00000000 08:14 66445 /var/cache/fontconfig/4b5cf4386f1cde02a336ba961b4ac82d-x86.cache-2
b61cc000-b61ea000 r--p 00000000 08:14 1164425 /usr/share/locale/fr/LC_MESSAGES/libc.mo
b61ea000-b620f000 r--p 00000000 08:14 526526 /usr/share/locale/fr/LC_MESSAGES/gtk20-properties.mo
b620f000-b6217000 r-xp 00000000 08:14 758224 /lib/libnss_files-2.6.1.so
b6217000-b6219000 rw-p 00007000 08:14 758224 /lib/libnss_files-2.6.1.so
b6219000-b6221000 r-xp 00000000 08:14 758242 /lib/libnss_nis-2.6.1.so
b6221000-b6223000 rw-p 00007000 08:14 758242 /lib/libnss_nis-2.6.1.so
b6223000-b6236000 r-xp 00000000 08:14 758232 /lib/libnsl-2.6.1.so
b6236000-b6238000 rw-p 00012000 08:14 758232 /lib/libnsl-2.6.1.so
b6238000-b623a000 rw-p b6238000 00:00 0
b623a000-b6240000 r-xp 00000000 08:14 758233 /lib/libnss_compat-2.6.1.so
b6240000-b6242000 rw-p 00005000 08:14 758233 /lib/libnss_compat-2.6.1.so
b6242000-b6245000 rw-s 00000000 00:08 4259855 /SYSV00000000 (deleted)
b6245000-b6248000 r--s 00000000 08:14 66216 /var/cache/fontconfig/d62e99ef547d1d24cdb1bd22ec1a2976-x86.cache-2
b6248000-b6252000 r-xp 00000000 08:14 250964 /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so
b6252000-b6253000 rw-p 00009000 08:14 250964 /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so
b6253000-b6254000 r-xp 00000000 08:14 893017 /usr/lib/gconv/ISO8859-1.so
b6254000-b6256000 rw-p 00001000 08:14 893017 /usr/lib/gconv/ISO8859-1.so
b6256000-b6267000 r--p 00000000 08:14 526525 /usr/share/locale/fr/LC_MESSAGES/gtk20.mo
b6267000-b6268000 r--p 00000000 08:14 628642 /usr/lib/locale/fr_BE.utf8/LC_NUMERIC
b6268000-b6269000 r--p 00000000 08:14 628643 /usr/lib/locale/fr_BE.utf8/LC_TIME
b6269000-b6349000 r--p 00000000 08:14 627847 /usr/lib/locale/fr_BE.utf8/LC_COLLATE
b6349000-b6388000 r--p 00000000 08:14 627699 /usr/lib/locale/fr_BE.utf8/LC_CTYPE
b6388000-b638c000 rw-p b6388000 00:00 0
b638c000-b63b6000 r-xp 00000000 08:14 132185 /usr/lib/libexpat.so.1.5.2
b63b6000-b63b7000 r--p 0002a000 08:14 132185 /usr/lib/libexpat.so.1.5.2
b63b7000-b63b9000 rw-p 0002b000 08:14 132185 /usr/lib/libexpat.so.1.5.2
b63b9000-b6429000 r-xp 00000000 08:14 203394 /usr/lib/libSDL-1.2.so.0.11.1
b6429000-b642b000 rw-p 00070000 08:14 203394 /usr/lib/libSDL-1.2.so.0.11.1
b642b000-b6458000 rw-p b642b000 00:00 0
b6458000-b64ad000 r-xp 00000000 08:14 185618 /usr/lib/libtiff.so.3.8.2
b64ad000-b64ae000 r--p 00054000 08:14 185618 /usr/lib/libtiff.so.3.8.2
b64ae000-b64b0000 rw-p 00055000 08:14 185618 /usr/lib/libtiff.so.3.8.2
b64b0000-b64d4000 r-xp 00000000 08:14 185127 /usr/lib/libjpeg.so.62.0.0
b64d4000-b64d6000 rw-p 00023000 08:14 185127 /usr/lib/libjpeg.so.62.0.0
b64d6000-b64d8000 r-xp 00000000 08:14 250898 /usr/lib/libXinerama.so.1.0.0
b64d8000-b64d9000 rw-p 00001000 08:14 250898 /usr/lib/libXinerama.so.1.0.0
b64d9000-b64e0000 r-xp 00000000 08:14 75Abandon
|
_________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
|