| View previous topic :: View next topic |
| Author |
Message |
Genewb Tux's lil' helper

Joined: 09 Jan 2007 Posts: 111
|
Posted: Sun Jan 13, 2008 10:00 am Post subject: |
|
|
Has anyone else got a nice broken system after updating to 20080111 from 20080104?
First of all I noticed that after recompiling eog and totem both segfaulted straight away (gdb said something about libpthread mutex):
| Quote: | Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b6e7b038bb0 (LWP 11610)]
0x00002b6e6feab3b3 in pthread_mutex_lock () from /lib/libpthread.so.0 |
Reverting to 20080104 doesn't help, neither does using 4.1.2 or 4.2.2.
gcalc works after recompilation. Can't say I'm too keen on risking more programmes randomly.
Edit: Nevermind the gnome-vfs bit, turns out to be a different problem
Edit 2: I think this is actually a problem with the behaviour of the new portage version? Or a conflict thereof with the gnome overlay. So nevermind. Loads of gnome packages seem to want to link to glib 1.x. |
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
|
| Back to top |
|
 |
unK Guru


Joined: 06 Feb 2007 Posts: 380
|
Posted: Wed Jan 16, 2008 1:00 pm Post subject: |
|
|
| kEiNsTeiN wrote: | | uhm... boost still not fixed, is it? |
according to ChangeLog the newest version should compile with gcc-4.3, but I didn't test it, so if it fails for you it seems it is not fixed yet.
| kEiNsTeiN wrote: | | sorry for not reading 20 pages... easy way to integrate patches? |
quite understanding ;) you can use autopatch module from portage-bashrc-ng, it works nicely. regarding patches, you can find some here. |
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
Posted: Wed Jan 16, 2008 2:41 pm Post subject: |
|
|
thank you very much
edit: usually I would spend the whole day trying to find out how to use that bashrcng, but I have a slight shortage in time right now... would you care to elaborate on how-to use? you can post commands only if you'd like...
alraedy did:
| Code: | layman -f -o http://gechi-overlay.sf.net/layman.xml -a gechi
emerge bashrcng |
edit2: tried adding PATCH_OVERLAY=/usr/portage/local/patches/ to /etc/portage/bashrc-ng/bashrc-ng.conf but without success _________________ make me a sandwich. - what? make it yourself. - sudo make me a sandwich. - okay. |
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
|
| Back to top |
|
 |
unK Guru


Joined: 06 Feb 2007 Posts: 380
|
Posted: Thu Jan 17, 2008 9:05 am Post subject: |
|
|
| kEiNsTeiN wrote: | | edit2: tried adding PATCH_OVERLAY=/usr/portage/local/patches/ to /etc/portage/bashrc-ng/bashrc-ng.conf but without success |
play with
and enable autopatch, it is probably disabled for now. |
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
|
| Back to top |
|
 |
dirtyepic Developer


Joined: 22 Oct 2004 Posts: 1525 Location: sk.ca
|
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
Posted: Mon Jan 28, 2008 8:00 am Post subject: |
|
|
summary on how-to fix "undeclared in this scope" by myself?
what's up, am I the only one "active" in this thread?
oh, and:
| Code: | gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/extended_type_info_typeid.o
./boost/archive/basic_binary_oprimitive.hpp: In member function 'void boost::archive::basic_binary_oprimitive<Archive, Elem, Tr>::save(bool) [with Archive = boost::archive::binary_oarchive, Elem = char, Tr = std::char_traits<char>]':
libs/serialization/src/binary_oarchive.cpp:24: instantiated from here
./boost/archive/basic_binary_oprimitive.hpp:87: warning: unused variable 'i'
gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/polymorphic_iarchive.o
gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/polymorphic_oarchive.o
gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/stl_port.o
gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/text_iarchive.o
gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/text_oarchive.o
In file included from libs/serialization/src/polymorphic_oarchive.cpp:19:
./boost/archive/polymorphic_oarchive.hpp:83: error: 'virtual void boost::archive::polymorphic_oarchive::save(int64_t)' cannot be overloaded
./boost/archive/polymorphic_oarchive.hpp:80: error: with 'virtual void boost::archive::polymorphic_oarchive::save(long int)'
./boost/archive/polymorphic_oarchive.hpp:84: error: 'virtual void boost::archive::polymorphic_oarchive::save(uint64_t)' cannot be overloaded
./boost/archive/polymorphic_oarchive.hpp:81: error: with 'virtual void boost::archive::polymorphic_oarchive::save(long unsigned int)'
In file included from libs/serialization/src/polymorphic_iarchive.cpp:19:
./boost/archive/polymorphic_iarchive.hpp:85: error: 'virtual void boost::archive::polymorphic_iarchive::load(int64_t&)' cannot be overloaded
./boost/archive/polymorphic_iarchive.hpp:81: error: with 'virtual void boost::archive::polymorphic_iarchive::load(long int&)'
./boost/archive/polymorphic_iarchive.hpp:86: error: 'virtual void boost::archive::polymorphic_iarchive::load(uint64_t&)' cannot be overloaded
./boost/archive/polymorphic_iarchive.hpp:82: error: with 'virtual void boost::archive::polymorphic_iarchive::load(long unsigned int&)'
"x86_64-pc-linux-gnu-g++" -ftemplate-depth-128 -O2 -march=core2 -pipe -minline-stringops-dynamically -fomit-frame-pointer -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/polymorphic_oarchive.o" "libs/serialization/src/polymorphic_oarchive.cpp"
...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/polymorphic_oarchive.o...
...on 100th target...
"x86_64-pc-linux-gnu-g++" -ftemplate-depth-128 -O2 -march=core2 -pipe -minline-stringops-dynamically -fomit-frame-pointer -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/polymorphic_iarchive.o" "libs/serialization/src/polymorphic_iarchive.cpp"
...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/polymorphic_iarchive.o...
...failed updating 1 target...
...updated 48 targets...
*
* ERROR: dev-libs/boost-1.34.1-r2 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 3056: Called die
* The specific snippet of code:
* bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi runtime-link=${linkoption} link=${linkoption} --prefix="${D}/usr" --layout=system || diefunc "$FUNCNAME" "$LINENO" "$?" "building boost failed";
* The die message:
* building boost failed |
now with gcc-4.3.0_2008.01.25, march=core2, keywords=amd64 _________________ make me a sandwich. - what? make it yourself. - sudo make me a sandwich. - okay. |
|
| Back to top |
|
 |
Thargor Apprentice


Joined: 23 Dec 2005 Posts: 211 Location: Bamberg/Germany
|
Posted: Mon Jan 28, 2008 10:08 am Post subject: |
|
|
| kEiNsTeiN wrote: | | summary on how-to fix "undeclared in this scope" by myself? |
Do
| Code: | | man 3 $name_of_the_function_that_is_not_declared_in_this_scope |
In the section SYNOPSIS you see what has to be #included to make it work. (mostly that's #include <cstring> or #include <cstdlib>)
The you write a patch to add this include
(autopatch-bashrc is very usefull here...)
And boost will not compile until they fix it.
So you will have to compile it with <gcc-4.3 _________________ All posts published under the Terms of CC-by-nc-nd
| Quote: | | GPL: We tell you how to be free, and when; BSD: you're free, off you go!; MPL: You're free so long as you don't forget who freed you! |
|
|
| Back to top |
|
 |
ryo-san l33t


Joined: 17 Feb 2005 Posts: 678
|
Posted: Mon Jan 28, 2008 11:04 am Post subject: |
|
|
hi,
i 've built boost yesterday with a dirty hack : commented ( <= correct i mean /* */ ) these fonctions in
| Code: |
polymorphic_oarchive.hpp:80
polymorphic_oarchive.hpp:81
|
and with doing the same with
| Code: |
polymorphic_iarchive.hpp
|
i think it's ok for amd64
I believe this is due to the part just on top of those lines.
do what you want but this not recommended  _________________ fvwm shots
Qui l'eut cru ... |
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
Posted: Mon Jan 28, 2008 2:07 pm Post subject: |
|
|
| Thargor wrote: |
(autopatch-bashrc is very usefull here...) |
yes. it is cool........
maaaan libofa needs 3 patches so far.... fuck you, libofa
cant we automate this?
edit: damnit, cant get hal to work:
| Code: | probe-storage.c: In function 'vid_log':
probe-storage.c:61: warning: implicit declaration of function 'vsnprintf'
probe-storage.c: In function 'main':
probe-storage.c:122: warning: implicit declaration of function 'fprintf'
probe-storage.c:122: warning: incompatible implicit declaration of built-in function 'fprintf'
probe-storage.c:122: error: 'stderr' undeclared (first use in this function)
probe-storage.c:122: error: (Each undeclared identifier is reported only once
probe-storage.c:122: error: for each function it appears in.)
make[5]: *** [probe-storage.o] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/probe-smbios.Tpo .deps/probe-smbios.Po
mv -f .deps/probe-serial.Tpo .deps/probe-serial.Po
make[5]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.10/work/hal-0.5.10/hald/linux/probing'
|
already tried +#include <stdio.h> (which is useless, as it's already there), and even +#include "error.h".. without success...
the code section is: | Code: | /* hook in our debug into libvolume_id */
volume_id_log_fn = vid_log;
fprintf (stderr, "woohoo\n");
/* assume failure */
ret = 1;
|
can I just.... uhm.. remove that???
edit2: I did remove it after grepping for woohoo in the rest of hal sources. it worked -.- very funny@dev
would you like a poisoned cookie? yes? there you go!
edit3: hmmm, qt is giving me errors about missing stderr too, as well as "fprintf" and "fflush". They all are part of stdio.h (not?), which is included by /var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/src/corelib/global/qglobal.cpp. _________________ make me a sandwich. - what? make it yourself. - sudo make me a sandwich. - okay. |
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 28 Apr 2005 Posts: 344 Location: Germany
|
Posted: Mon Jan 28, 2008 5:45 pm Post subject: |
|
|
anybody got a mirror?
bandwith limit reached on: http://unknownart.webd.pl/o/gcc43/
edit: just in case anybody needs this, it took me HOURS of ANNOYING bash-work. and my tilde-key doesnt work! FUCK:
| Code: | cat tunepimp-0.5.3-r1-gcc4.3.patch
diff -au lib/utf8/utf8util.cpp~ lib/utf8/utf8util.cpp
--- lib/utf8/utf8util.cpp~ 2008-01-29 01:41:55.000000000 +0100
+++ lib/utf8/utf8util.cpp 2008-01-29 01:41:55.000000000 +0100
@@ -26,6 +26,7 @@
----------------------------------------------------------------------------*/
#include <stdio.h>
+#include <stdlib.h>
#include "utf8util.h"
#include "utf8.h"
#ifdef WIN32
diff -au include/tunepimp-0.5/metadata.h~ include/tunepimp-0.5/metadata.h
--- include/tunepimp-0.5/metadata.h~ 2008-01-29 01:47:36.000000000 +0100
+++ include/tunepimp-0.5/metadata.h 2008-01-29 01:47:36.000000000 +0100
@@ -29,6 +29,7 @@
#include <string>
#include <cstdio>
+#include <string.h>
#include "defs.h"
#include "tp_c.h"
diff -au lib/tunepimp.cpp~ lib/tunepimp.cpp
--- lib/tunepimp.cpp~ 2008-01-29 01:51:35.000000000 +0100
+++ lib/tunepimp.cpp 2008-01-29 01:51:35.000000000 +0100
@@ -31,6 +31,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <map>
using namespace std;
diff -au lib/metadata.cpp~ lib/metadata.cpp
--- lib/metadata.cpp~ 2008-01-29 01:55:51.000000000 +0100
+++ lib/metadata.cpp 2008-01-29 01:55:51.000000000 +0100
@@ -26,6 +26,7 @@
----------------------------------------------------------------------------*/
#include <math.h>
#include <stdio.h>
+#include <stdlib.h>
#include "metadata.h"
#include "../config.h"
using namespace std;
diff -au lib/c_wrapper.cpp~ lib/c_wrapper.cpp
--- lib/c_wrapper.cpp~ 2008-01-29 02:00:01.000000000 +0100
+++ lib/c_wrapper.cpp 2008-01-29 02:00:01.000000000 +0100
@@ -28,6 +28,7 @@
#include "mutex.h"
#include "tp_c.h"
#include "astrcmp.h"
+#include <stdlib.h>
#define DB printf("%s:%d\n", __FILE__, __LINE__);
diff -au lib/readmeta.cpp~ lib/readmeta.cpp
--- lib/readmeta.cpp~ 2008-01-29 02:07:27.000000000 +0100
+++ lib/readmeta.cpp 2008-01-29 02:07:27.000000000 +0100
@@ -31,6 +31,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#ifndef WIN32
#include <unistd.h>
#endif
diff -au lib/fileio.cpp~ lib/fileio.cpp
--- lib/fileio.cpp~ 2008-01-29 16:24:07.000000000 +0100
+++ lib/fileio.cpp 2008-01-29 16:24:07.000000000 +0100
@@ -28,6 +28,8 @@
#include <assert.h>
#include <errno.h>
#include <string>
+#include <string.h>
+#include <stdlib.h>
#ifndef WIN32
#include <unistd.h>
#endif
diff -au lib/protocol.cpp~ lib/protocol.cpp
--- lib/protocol.cpp~ 2008-01-29 16:51:57.000000000 +0100
+++ lib/protocol.cpp 2008-01-29 16:51:57.000000000 +0100
@@ -9,6 +9,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string>
+#include <string.h>
#include <map>
#include <expat.h>
#include <curl/curl.h>
diff -au plugins/mp3/id3_meta.cpp~ plugins/mp3/id3_meta.cpp
--- plugins/mp3/id3_meta.cpp~ 2008-01-29 17:17:00.000000000 +0100
+++ plugins/mp3/id3_meta.cpp 2008-01-29 17:17:00.000000000 +0100
@@ -29,6 +29,7 @@
#include <time.h>
#include <ctype.h>
#include <musicbrainz/mb_c.h>
+#include <stdlib.h>
#include "mp3.h"
#include "id3_meta.h"
diff -au plugins/mp3/id3_2_3_meta.cpp~ plugins/mp3/id3_2_3_meta.cpp
--- plugins/mp3/id3_2_3_meta.cpp~ 2008-01-29 18:28:22.000000000 +0100
+++ plugins/mp3/id3_2_3_meta.cpp 2008-01-29 18:28:22.000000000 +0100
@@ -29,6 +29,7 @@
#include <assert.h>
#include <ctype.h>
#include <musicbrainz/mb_c.h>
+#include <stdlib.h>
#include "mp3.h"
#include "id3_2_3_meta.h"
#include "id3tag/id3tag.h" |
_________________ make me a sandwich. - what? make it yourself. - sudo make me a sandwich. - okay. |
|
| Back to top |
|
 |
cnrs n00b

Joined: 30 Sep 2007 Posts: 11
|
Posted: Sun Feb 03, 2008 10:08 am Post subject: dev-libs/boost |
|
|
Compil all kde 4 dependency is impossible because dev-libs/boost not compil with gcc-4.3
(-march=core2) |
|
| Back to top |
|
 |
Eckos Apprentice


Joined: 25 Jan 2008 Posts: 156 Location: Houston, Texas, USA
|
Posted: Mon Feb 04, 2008 4:16 pm Post subject: |
|
|
I can't get gcc-4.3.0 to show up in emerge. I'm using ~x86
I've followed the guide on the wiki but no luck |
|
| Back to top |
|
 |
aVirulence Tux's lil' helper

Joined: 07 Feb 2006 Posts: 139
|
Posted: Tue Feb 05, 2008 8:58 am Post subject: |
|
|
| Are there already patches available for libebml? |
|
| Back to top |
|
 |
unK Guru


Joined: 06 Feb 2007 Posts: 380
|
|
| Back to top |
|
 |
aVirulence Tux's lil' helper

Joined: 07 Feb 2006 Posts: 139
|
Posted: Tue Feb 05, 2008 9:14 am Post subject: |
|
|
| unK wrote: | | http://unknownart.webd.pl/o/gcc43/ |
Thank you
Edit: Can I point to other programs that don't compile with gcc 4.3 in this thread? Some are not available on that site. |
|
| Back to top |
|
 |
unK Guru


Joined: 06 Feb 2007 Posts: 380
|
Posted: Tue Feb 05, 2008 9:59 am Post subject: |
|
|
Sure. Btw some patches are not needed now, I will clean it up soon. _________________ -ftree-terrorize |
|
| Back to top |
|
 |
aVirulence Tux's lil' helper

Joined: 07 Feb 2006 Posts: 139
|
Posted: Tue Feb 05, 2008 10:05 am Post subject: |
|
|
OK. The following packages do not compile with 4.3 right now:
*media-video/mkvtoolnix-2.1.0
*dev-libs/xalan-c-1.10.0 (which is a package requirement for Virtualbox)
*net-p2p/deluge-0.5.8.3
Last edited by aVirulence on Wed Feb 06, 2008 3:50 am; edited 1 time in total |
|
| Back to top |
|
 |
nbvcxz Guru


Joined: 02 Sep 2005 Posts: 364 Location: Kraków / PL
|
Posted: Tue Feb 05, 2008 11:28 am Post subject: |
|
|
| unK wrote: | | Sure. Btw some patches are not needed now, I will clean it up soon. |
Could you give us the list of patches that are not needed any more? _________________ nBVCXz
kernel-2.6.24-zen3 | gcc-4.3.0 | glibc-2.7-r2 | binutils-2.18.50.0.5 (hashash-style=gnu) | ext4/reiser4 | zsh | E17 | Opera | verynice => POWER DESKTOP |
|
| Back to top |
|
 |
dirtyepic Developer


Joined: 22 Oct 2004 Posts: 1525 Location: sk.ca
|
Posted: Sat Feb 09, 2008 5:10 pm Post subject: |
|
|
I poked upstream about the 64bit profiledbootstrap error, and thanks to some investigation by people much smarter than me, it's now marked P1 critical, and must be fixed before 4.3 will be released. _________________ by design, by neglect
for a fact or just for effect |
|
| Back to top |
|
 |
mjrosenb Tux's lil' helper


Joined: 12 Jun 2006 Posts: 108 Location: CMU
|
Posted: Sat Feb 09, 2008 11:47 pm Post subject: |
|
|
| Quote: |
I poked upstream about the 64bit profiledbootstrap error, and thanks to some investigation by people much smarter than me, it's now marked P1 critical, and must be fixed before 4.3 will be released.
|
What error is that exactly? I've been trying to compile gcc-4.3 over the past week or so, and my errors usually look something like this:
make: *** No rule to make target `bootstrap'. Stop.
or
make: *** No rule to make target `profiledbootstrap'. Stop.
these happen rather early on in the compilation proccess. I've poked at the Makefile, and I don't see either of those targets defined. Any ideas? _________________ I'll be mjrosenb on #${COMPUTER_RELATED_SUBJECT}
1x i386 laptop w/ Gentoo
4x i386 desktop w/ Gentoo
2x dual proc i386 w/dragonfly bsd
1x x86-64 desktop w/ Gentoo
1x i386 desktop w/ FreeBSD
1x alpha workstation w/ Gentoo
looking for more |
|
| Back to top |
|
 |
|