Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 3.4
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 24, 25, 26 ... 71, 72, 73  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jimbojetset
n00b
n00b


Joined: 01 Feb 2004
Posts: 67
Location: UK

PostPosted: Fri Apr 30, 2004 11:59 am    Post subject: Reply with quote

Can't compile abiword 2.0.5 or 2.0.6 either
Back to top
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Fri Apr 30, 2004 12:46 pm    Post subject: Reply with quote

thundersteele wrote:
So, a little summary of my experiences:

qt-3.3.2 compiled without problems, so did arts, kdelibs, kdebase
arts keeps crashing, so does kcminit (part of kdebase), this could be because of new qt, new gcc, glibc or whatever.
some video codecs seem to be broken, don't know exactly which ones.

someone else having problems with kde?

gcc-3.4.0
glibc--2.3.3_pre20040420
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"

Programs that failed to compile until now:
Code:
media-gfx/sane-backends-1.0.13-r3
sys-libs/cracklib-2.7-r9


Didn't try mplayer and some other yet.

You need to recompile all the kde packages with gcc 3.4 for things to get normal.
I had that problem with arts too, recompile kdemultimedia and it should go away.
You should recompile kdemultimedia with DO_NOT_COMPILE="noatun noatun-plugins" and before that make sure you recompile id3tag and taglib or juk will fail to compile.
Back to top
View user's profile Send private message
ed0n
l33t
l33t


Joined: 23 Apr 2003
Posts: 638
Location: Prishtine/Kosove

PostPosted: Fri Apr 30, 2004 12:51 pm    Post subject: Reply with quote

I am trying to compile glibc-2.3.3_pre20040420 with gcc-3.4 in a reiser4 root partition, I am running Speedy4 sources, and I have some weird permission error .
The full error is here:
Code:

gcc nss_nis/nis-proto.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=pentium4 -pipe -mpreferred-stack-boundary=2  -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_libnss_nis=1    -o /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis/nis-proto.os -MD -MP -MF /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis/nis-proto.os.dt
In file included from nss_nis/nis-proto.c:20:
../include/nss.h:1:21: ./nss/nss.h: Permission denied
gcc nss_nis/nis-service.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=pentium4 -pipe -mpreferred-stack-boundary=2  -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_libnss_nis=1    -o /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis/nis-service.os -MD -MP -MF /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis/nis-service.os.dt
In file included from ./nss-nis.h:24,
                 from nss_nis/nis-proto.c:29:
../include/nsswitch.h:1:26: ./nss/nsswitch.h: Permission denied
In file included from nss_nis/nis-proto.c:29:
./nss-nis.h:33: error: return type is an incomplete type
./nss-nis.h: In function `yperr2nss':
./nss-nis.h:35: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
./nss-nis.h:35: error: (Each undeclared identifier is reported only once
./nss-nis.h:35: error: for each function it appears in.)
./nss-nis.h:35: warning: `return' with a value, in function returning void
./nss-nis.h:36: error: invalid use of undefined type `enum nss_status'
./nss-nis.h:36: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:34:39: ./nss/nss_files/files-parse.c: Permission denied
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:86: error: return type is an incomplete type
nss_nis/nis-proto.c: In function `internal_nis_setprotoent':
nss_nis/nis-proto.c:89: error: storage size of 'status' isn't known
nss_nis/nis-proto.c:100: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:89: warning: unused variable `status'
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:105: error: return type is an incomplete type
nss_nis/nis-proto.c:105: error: conflicting types for '_nss_nis_setprotoent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_setprotoent' was here
nss_nis/nis-proto.c:105: error: conflicting types for '_nss_nis_setprotoent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_setprotoent' was here
nss_nis/nis-proto.c: In function `_nss_nis_setprotoent':
nss_nis/nis-proto.c:106: error: storage size of 'status' isn't known
nss_nis/nis-proto.c:114: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:106: warning: unused variable `status'
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:119: error: return type is an incomplete type
nss_nis/nis-proto.c:119: error: conflicting types for '_nss_nis_endprotoent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_endprotoent' was here
nss_nis/nis-proto.c:119: error: conflicting types for '_nss_nis_endprotoent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_endprotoent' was here
nss_nis/nis-proto.c: In function `_nss_nis_endprotoent':
nss_nis/nis-proto.c:127: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-proto.c:127: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:133: error: return type is an incomplete type
nss_nis/nis-proto.c: In function `internal_nis_getprotoent_r':
nss_nis/nis-proto.c:146: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-proto.c:146: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:155: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-proto.c:155: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:160: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-proto.c:160: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:166: error: return type is an incomplete type
nss_nis/nis-proto.c:166: error: conflicting types for '_nss_nis_getprotoent_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotoent_r' was here
nss_nis/nis-proto.c:166: error: conflicting types for '_nss_nis_getprotoent_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotoent_r' was here
nss_nis/nis-proto.c: In function `_nss_nis_getprotoent_r':
nss_nis/nis-proto.c:167: error: storage size of 'status' isn't known
nss_nis/nis-proto.c:175: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:167: warning: unused variable `status'
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:181: error: return type is an incomplete type
nss_nis/nis-proto.c:181: error: conflicting types for '_nss_nis_getprotobyname_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotobyname_r' was here
nss_nis/nis-proto.c:181: error: conflicting types for '_nss_nis_getprotobyname_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotobyname_r' was here
nss_nis/nis-proto.c: In function `_nss_nis_getprotobyname_r':
nss_nis/nis-proto.c:183: error: storage size of 'retval' isn't known
In file included from nss_nis/nis-service.c:20:
../include/nss.h:1:21: ./nss/nss.h: Permission denied
nss_nis/nis-proto.c:190: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-proto.c:190: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:194: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:199: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-proto.c:201: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-proto.c:203: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:210: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:223: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:225: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-proto.c:225: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:227: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:183: warning: unused variable `retval'
nss_nis/nis-proto.c: At top level:
nss_nis/nis-proto.c:233: error: return type is an incomplete type
nss_nis/nis-proto.c:233: error: conflicting types for '_nss_nis_getprotobynumber_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotobynumber_r' was here
nss_nis/nis-proto.c:233: error: conflicting types for '_nss_nis_getprotobynumber_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getprotobynumber_r' was here
nss_nis/nis-proto.c: In function `_nss_nis_getprotobynumber_r':
nss_nis/nis-proto.c:235: error: storage size of 'retval' isn't known
nss_nis/nis-proto.c:241: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-proto.c:241: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:248: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-proto.c:250: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-proto.c:252: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:259: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:272: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:274: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-proto.c:274: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:276: warning: `return' with a value, in function returning void
nss_nis/nis-proto.c:235: warning: unused variable `retval'
make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis/nis-proto.os] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ./nss-nis.h:24,
                 from nss_nis/nis-service.c:29:
../include/nsswitch.h:1:26: ./nss/nsswitch.h: Permission denied
In file included from nss_nis/nis-service.c:29:
./nss-nis.h:33: error: return type is an incomplete type
./nss-nis.h: In function `yperr2nss':
./nss-nis.h:35: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
./nss-nis.h:35: error: (Each undeclared identifier is reported only once
./nss-nis.h:35: error: for each function it appears in.)
./nss-nis.h:35: warning: `return' with a value, in function returning void
./nss-nis.h:36: error: invalid use of undefined type `enum nss_status'
./nss-nis.h:36: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:35:39: ./nss/nss_files/files-parse.c: Permission denied
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:59: error: field `status' has incomplete type
nss_nis/nis-service.c: In function `dosearch':
nss_nis/nis-service.c:113: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-service.c:150: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:159: error: return type is an incomplete type
nss_nis/nis-service.c: In function `internal_nis_endservent':
nss_nis/nis-service.c:167: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c:167: warning: `return' with a value, in function returning void
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:172: error: return type is an incomplete type
nss_nis/nis-service.c:172: error: conflicting types for '_nss_nis_endservent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_endservent' was here
nss_nis/nis-service.c:172: error: conflicting types for '_nss_nis_endservent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_endservent' was here
nss_nis/nis-service.c: In function `_nss_nis_endservent':
nss_nis/nis-service.c:173: error: storage size of 'status' isn't known
nss_nis/nis-service.c:181: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:173: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:186: error: return type is an incomplete type
nss_nis/nis-service.c: In function `internal_nis_setservent':
nss_nis/nis-service.c:189: error: storage size of 'status' isn't known
nss_nis/nis-service.c:192: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-service.c:192: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:201: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:189: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:206: error: return type is an incomplete type
nss_nis/nis-service.c:206: error: conflicting types for '_nss_nis_setservent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_setservent' was here
nss_nis/nis-service.c:206: error: conflicting types for '_nss_nis_setservent'
../include/netdb.h:273: error: previous declaration of '_nss_nis_setservent' was here
nss_nis/nis-service.c: In function `_nss_nis_setservent':
nss_nis/nis-service.c:207: error: storage size of 'status' isn't known
nss_nis/nis-service.c:215: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:207: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:221: error: return type is an incomplete type
nss_nis/nis-service.c: In function `internal_nis_getservent_r':
nss_nis/nis-service.c:233: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-service.c:233: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:241: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-service.c:241: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:246: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c:246: warning: `return' with a value, in function returning void
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:252: error: return type is an incomplete type
nss_nis/nis-service.c:252: error: conflicting types for '_nss_nis_getservent_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservent_r' was here
nss_nis/nis-service.c:252: error: conflicting types for '_nss_nis_getservent_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservent_r' was here
nss_nis/nis-service.c: In function `_nss_nis_getservent_r':
nss_nis/nis-service.c:253: error: storage size of 'status' isn't known
nss_nis/nis-service.c:261: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:253: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:268: error: return type is an incomplete type
nss_nis/nis-service.c:268: error: conflicting types for '_nss_nis_getservbyname_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservbyname_r' was here
nss_nis/nis-service.c:268: error: conflicting types for '_nss_nis_getservbyname_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservbyname_r' was here
nss_nis/nis-service.c: In function `_nss_nis_getservbyname_r':
nss_nis/nis-service.c:269: error: storage size of 'status' isn't known
nss_nis/nis-service.c:275: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-service.c:275: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:279: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:302: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c:312: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-service.c:312: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:325: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:327: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-service.c:327: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:330: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:335: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:353: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:355: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:269: warning: unused variable `status'
nss_nis/nis-service.c: At top level:
nss_nis/nis-service.c:362: error: return type is an incomplete type
nss_nis/nis-service.c:362: error: conflicting types for '_nss_nis_getservbyport_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservbyport_r' was here
nss_nis/nis-service.c:362: error: conflicting types for '_nss_nis_getservbyport_r'
../include/netdb.h:273: error: previous declaration of '_nss_nis_getservbyport_r' was here
nss_nis/nis-service.c: In function `_nss_nis_getservbyport_r':
nss_nis/nis-service.c:363: error: storage size of 'status' isn't known
nss_nis/nis-service.c:367: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this function)
nss_nis/nis-service.c:367: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:388: error: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nss_nis/nis-service.c:398: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this function)
nss_nis/nis-service.c:398: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:411: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:413: error: `NSS_STATUS_NOTFOUND' undeclared (first use in this function)
nss_nis/nis-service.c:413: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:416: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:422: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:440: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:442: warning: `return' with a value, in function returning void
nss_nis/nis-service.c:363: warning: unused variable `status'
make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/nis/nis-service.os] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/nis'
make[1]: *** [nis/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.3_pre20040420 failed.
!!! Function src_compile, Line 535, Exitcode 2
!!! (no error message)


Any help will be wellcome.
Back to top
View user's profile Send private message
Cossins
Veteran
Veteran


Joined: 21 Mar 2003
Posts: 1136
Location: Copenhagen, Denmark

PostPosted: Fri Apr 30, 2004 1:12 pm    Post subject: Reply with quote

I'm having problems with GStreamer - more precisely, the gnome-vfs plugin.

I recompiled gstreamer, gnome-vfs and gst-plugins-gnomevfs, but gst-register-0.8 still says:
Code:
gst-register-0.8: error while loading shared libraries: /usr/lib/gstreamer-0.8/libgstgnomevfs.so: undefined symbol: gnome_vfs_initialized

I tried the following:
Code:
# ldd -r /usr/lib/gstreamer-0.8/libgstgnomevfs.so
 linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0x4002e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: g_thread_use_default_impl     (/usr/lib/gstreamer-0.8/libgstgnomevfs.so)
undefined symbol: GST_CAT_DEFAULT       (/usr/lib/gstreamer-0.8/libgstgnomevfs.so)
undefined symbol: _gst_element_type     (/usr/lib/gstreamer-0.8/libgstgnomevfs.so)
... snip ...
undefined symbol: g_free        (/usr/lib/gstreamer-0.8/libgstgnomevfs.so)
undefined symbol: g_object_class_install_property       (/usr/lib/gstreamer-0.8/libgstgnomevfs.so)
undefined symbol: g_thread_join (/usr/lib/gstreamer-0.8/libgstgnomevfs.so)
undefined symbol: g_type_class_ref      (/usr/lib/gstreamer-0.8/libgstgnomevfs.so)


Which library is it that has unresolved symbols, what do I have to recompile?

- Simon
_________________
who cares
Back to top
View user's profile Send private message
mekong
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2004
Posts: 93
Location: Rdam - NL - EU

PostPosted: Fri Apr 30, 2004 2:17 pm    Post subject: Reply with quote

ed0n wrote:
I am trying to compile glibc-2.3.3_pre20040420 with gcc-3.4 in a reiser4 root partition, I am running Speedy4 sources, and I have some weird permission error .
The full error is here:
Code:

...


Any help will be wellcome.


Hi, I got the same error. It's definately related to reiser4, I switch back to reiserfs and it's solved for me. On reiser4, it also gives troubles to compile php and mod_php. It's still a long way for reiser4.
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Fri Apr 30, 2004 2:30 pm    Post subject: Reply with quote

taskara wrote:
here goes:

gonna rebuild my p4 system with 2004.1 stage1 tarball

gcc 3.4, nptl (and 2.6.5 headers), reiser4

using

-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse

any suggestions before I begin?

cheers

i suggest you bootstrap with the latest gcc-3.3.3, at least
you will have a working gcc-3.3.3 which is appropriate to your
arch. after that unmask gcc-3.4.0 and proceed.
most of the ebuilds emerge with no problems straight
from the official portage tree, with a few exceptions
at the time of writing, thanks to the gentoo gcc porting
developers who have been very active recently on
the gcc-3.4 front. the only emerge failures which have been
encountered and have yet to be resolved in the chrooted
test environment has been openoffice, which is a blocker to
me, as i often have to edit/develop excel worksheets,
and can't tolerate/afford winblows, or M$office.
does anyone know of any fully excel compatible spreadsheet
package, which is free and open source? would appreciate
any recommendations, and without saying, it has to run on
linux :-), TIA
hth
Back to top
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 176

PostPosted: Fri Apr 30, 2004 2:34 pm    Post subject: Reply with quote

Heh, thought I was the only one, adding these to glibc ebuild (line 530):
Quote:
einfo "Building GLIBC..."
mv ${S}/nis/nss ${S}/nis/nss.bak
cd ${S}/buildhere
make PARALLELMFLAGS="${MAKEOPTS}" || die
mv ${S}/nis/nss.bak ${S}/nis/nss

did the trick for me
Back to top
View user's profile Send private message
ed0n
l33t
l33t


Joined: 23 Apr 2003
Posts: 638
Location: Prishtine/Kosove

PostPosted: Fri Apr 30, 2004 2:58 pm    Post subject: Reply with quote

mekong wrote:
ed0n wrote:
I am trying to compile glibc-2.3.3_pre20040420 with gcc-3.4 in a reiser4 root partition, I am running Speedy4 sources, and I have some weird permission error .
The full error is here:
Code:

...


Any help will be wellcome.


Hi, I got the same error. It's definately related to reiser4, I switch back to reiserfs and it's solved for me. On reiser4, it also gives troubles to compile php and mod_php. It's still a long way for reiser4.


hmm the thing that makes me think that I did something wrong is that many people in reiser4 with gcc-3.4 compiled this version of glibc.

Anyway the snapshot before this one compiles fine.
Back to top
View user's profile Send private message
johnnyboyro
n00b
n00b


Joined: 19 Sep 2003
Posts: 57
Location: Iasi, Romania

PostPosted: Fri Apr 30, 2004 3:01 pm    Post subject: Reply with quote

taskara wrote:
here goes:

gonna rebuild my p4 system with 2004.1 stage1 tarball

gcc 3.4, nptl (and 2.6.5 headers), reiser4

using

-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse

any suggestions before I begin?

cheers


I may drop reiser4 as it is still not stable enough (in my opinion).
Also, you may use -ftracer and -fweb (last is enable by -O3), as they will lead to better optimization. These are new flags for gcc3.4 ...
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Apr 30, 2004 3:25 pm    Post subject: Reply with quote

johnnyboyro wrote:
Also, you may use -ftracer and -fweb (last is enable by -O3), as they will lead to better optimization. These are new flags for gcc3.4 ...


Oh, -ftracer is in GCC 3.3.3 as well, and possibly in even older versions (can't remember :) ). -fweb corresponds, I think, to the old -fnew-ra option (however it's now pretty safe to use, unlike -fnew-ra which broke many things).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Fri Apr 30, 2004 3:40 pm    Post subject: Reply with quote

-fweb still breaks xine-lib, ie I get artifacts when watching dvb. Gotta make a bug report.
Back to top
View user's profile Send private message
mekong
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2004
Posts: 93
Location: Rdam - NL - EU

PostPosted: Fri Apr 30, 2004 4:00 pm    Post subject: Reply with quote

ed0n wrote:
mekong wrote:
ed0n wrote:
I am trying to compile glibc-2.3.3_pre20040420 with gcc-3.4 in a reiser4 root partition, I am running Speedy4 sources, and I have some weird permission error .
The full error is here:
Code:

...


Any help will be wellcome.


Hi, I got the same error. It's definately related to reiser4, I switch back to reiserfs and it's solved for me. On reiser4, it also gives troubles to compile php and mod_php. It's still a long way for reiser4.


hmm the thing that makes me think that I did something wrong is that many people in reiser4 with gcc-3.4 compiled this version of glibc.

Anyway the snapshot before this one compiles fine.


Yup, same situation here, with the previous snapshot I've no problem in combination with reiser4 and gcc3.4. Btw I used Redeeman2 patchset
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Fri Apr 30, 2004 4:12 pm    Post subject: Reply with quote

hmm, when I was trying to re-bootstrap I get this:
Code:
/bin/install -c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr/i686-pc-linux-gnu/gcc-bin/3.4/cpp
if [ x != x ]; then \
  rm -f /var/tmp/portage/gcc-3.4.0/image//usr//cpp;  \
  /bin/install =c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr//cpp;  \
else true; fi
cp doc/gcc.1 goc/g++.1
cp: cannot stat 'doc/gcc.1': No such file or directory
make[1]:  *** [doc/g++.1] Error 1
make[1]: Leaving directory '/var/tmp/portage/gcc-3.4.0/work/build/gcc'
make: ** [install-gcc] Error 2

Any help?
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
ncm
n00b
n00b


Joined: 30 Apr 2004
Posts: 1

PostPosted: Fri Apr 30, 2004 4:31 pm    Post subject: Reply with quote

When a package doesn't run right when built with gcc-3.4, probably the first thing to try is to add "-fno-strict-aliasing" to the build line. Without it, common pointer-casting idioms are likely to fail. Actually, the same applies to 3.3, but perhaps less so.

Any program that runs differently with -fno-strict-aliasing has bugs to fix, strictly speaking. Still, such bugs are very, very common because pointer casting has always been the accepted way to achieve type punning. Now we're told to use unions instead. Strictly speaking again, union misuse is exactly as buggy as pointer misuse, but the former is now the officially-supported way under gcc to to type punning, and what the standard declares undefined, gcc defines. Such code still won't be strictly portable, and there's probably no portable way to do the same thing, in most cases.

The other alternative to unions is gcc's __attribute__(()) extensions, which are of course even less portable than union games.
Back to top
View user's profile Send private message
johnnyboyro
n00b
n00b


Joined: 19 Sep 2003
Posts: 57
Location: Iasi, Romania

PostPosted: Fri Apr 30, 2004 4:34 pm    Post subject: Reply with quote

moocha wrote:
johnnyboyro wrote:
Also, you may use -ftracer and -fweb (last is enable by -O3), as they will lead to better optimization. These are new flags for gcc3.4 ...


Oh, -ftracer is in GCC 3.3.3 as well, and possibly in even older versions (can't remember :) ). -fweb corresponds, I think, to the old -fnew-ra option (however it's now pretty safe to use, unlike -fnew-ra which broke many things).


Sorry. You are wright about -ftracer. About -fweb ... I think I have to dig more into the docs ...
Back to top
View user's profile Send private message
ed0n
l33t
l33t


Joined: 23 Apr 2003
Posts: 638
Location: Prishtine/Kosove

PostPosted: Fri Apr 30, 2004 4:35 pm    Post subject: Reply with quote

mekong wrote:
ed0n wrote:
mekong wrote:
ed0n wrote:
I am trying to compile glibc-2.3.3_pre20040420 with gcc-3.4 in a reiser4 root partition, I am running Speedy4 sources, and I have some weird permission error .
The full error is here:
Code:

...


Any help will be wellcome.


Hi, I got the same error. It's definately related to reiser4, I switch back to reiserfs and it's solved for me. On reiser4, it also gives troubles to compile php and mod_php. It's still a long way for reiser4.


hmm the thing that makes me think that I did something wrong is that many people in reiser4 with gcc-3.4 compiled this version of glibc.

Anyway the snapshot before this one compiles fine.


Yup, same situation here, with the previous snapshot I've no problem in combination with reiser4 and gcc3.4. Btw I used Redeeman2 patchset


I am using speedy4 (OneOfOne's) , I think its based on redeeman-sources, and in its patchset it has a patch that says that it fixes some permission problems in reiser4, but anyway I will stick with pervious snapshot.
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Fri Apr 30, 2004 4:37 pm    Post subject: Reply with quote

TheCoop wrote:
hmm, when I was trying to re-bootstrap I get this:
Code:
/bin/install -c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr/i686-pc-linux-gnu/gcc-bin/3.4/cpp
if [ x != x ]; then \
  rm -f /var/tmp/portage/gcc-3.4.0/image//usr//cpp;  \
  /bin/install =c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr//cpp;  \
else true; fi
cp doc/gcc.1 goc/g++.1
cp: cannot stat 'doc/gcc.1': No such file or directory
make[1]:  *** [doc/g++.1] Error 1
make[1]: Leaving directory '/var/tmp/portage/gcc-3.4.0/work/build/gcc'
make: ** [install-gcc] Error 2

Any help?

TheCoop, just emerge sync, and try again
it's not yet a good idia to bootstrap with gcc-3.4, till
a compatibility layer is deployed in portage.
it's better to bootstrap with the latest gcc-3.3.3, get your
system in order, then migrate to gcc-3.4.
hth
Back to top
View user's profile Send private message
johnnyboyro
n00b
n00b


Joined: 19 Sep 2003
Posts: 57
Location: Iasi, Romania

PostPosted: Fri Apr 30, 2004 4:39 pm    Post subject: Reply with quote

PrakashKC wrote:
-fweb still breaks xine-lib, ie I get artifacts when watching dvb. Gotta make a bug report.


Maybe the same thing is happening with binutils. It is known that it breaks things when it is compiled with -O3 and -fweb is enabled by -O3 :(
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Fri Apr 30, 2004 4:47 pm    Post subject: Reply with quote

irf2003 wrote:
TheCoop, just emerge sync, and try again
it's not yet a good idia to bootstrap with gcc-3.4, till
a compatibility layer is deployed in portage.
it's better to bootstrap with the latest gcc-3.3.3, get your
system in order, then migrate to gcc-3.4.
hth

I managed to bootstrap with 3.4.0 by doing the following:

Start the bootstrap.
Wait until it starts compiling gcc.
Go to another terminal, and chroot again.
touch /var/tmp/portage/gcc-3.4.0/work/build/gcc/doc/gcc.1

Then the GCC merge finishes, and the rest of the bootstrap goes perfectly.
Back to top
View user's profile Send private message
johnnyboyro
n00b
n00b


Joined: 19 Sep 2003
Posts: 57
Location: Iasi, Romania

PostPosted: Fri Apr 30, 2004 4:47 pm    Post subject: Reply with quote

irf2003 wrote:
TheCoop wrote:
hmm, when I was trying to re-bootstrap I get this:
Code:
/bin/install -c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr/i686-pc-linux-gnu/gcc-bin/3.4/cpp
if [ x != x ]; then \
  rm -f /var/tmp/portage/gcc-3.4.0/image//usr//cpp;  \
  /bin/install =c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr//cpp;  \
else true; fi
cp doc/gcc.1 goc/g++.1
cp: cannot stat 'doc/gcc.1': No such file or directory
make[1]:  *** [doc/g++.1] Error 1
make[1]: Leaving directory '/var/tmp/portage/gcc-3.4.0/work/build/gcc'
make: ** [install-gcc] Error 2

Any help?

TheCoop, just emerge sync, and try again
it's not yet a good idia to bootstrap with gcc-3.4, till
a compatibility layer is deployed in portage.
it's better to bootstrap with the latest gcc-3.3.3, get your
system in order, then migrate to gcc-3.4.
hth


I succesfully bootstraped a new system with gcc 3.4 & uninstalled gcc 3.2. The only things I noticed not working anymore were java related stuff (I use sun-jdk), and this because of missing libgcc.so.6. I solved the problem by taking from the binary package of gcc 3.2 all the libraries I couldn't find on my system anymore, and putting them to the right locations. Then, after running ldconfig, everything went fine again.
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Fri Apr 30, 2004 4:48 pm    Post subject: Reply with quote

PrakashKC wrote:
-fweb still breaks xine-lib, ie I get artifacts when watching dvb. Gotta make a bug report.

no sure what your arch is, but if you are on -march=pentium4
make sure that you have "-mno-sse2" in your compiler
flags.
or just hack the ebuild, nuke these lines
Code:

# fix build errors with sse2
   if [ "`gcc-version`" == "3.2" ]; then
      use x86 && append-flags -mno-sse2
   fi

   if [ "`gcc-version`" == "3.3" ]; then
      use x86 && append-flags -mno-sse2
   fi

replace the above with
Code:

use x86 && append-flags -mno-sse2

if the above doesn't work, clear your ccache as it may be poluted, and try again
Code:

ccache -Cz

hth
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Fri Apr 30, 2004 5:02 pm    Post subject: Reply with quote

johnnyboyro wrote:
irf2003 wrote:
TheCoop wrote:
hmm, when I was trying to re-bootstrap I get this:
Code:
/bin/install -c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr/i686-pc-linux-gnu/gcc-bin/3.4/cpp
if [ x != x ]; then \
  rm -f /var/tmp/portage/gcc-3.4.0/image//usr//cpp;  \
  /bin/install =c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr//cpp;  \
else true; fi
cp doc/gcc.1 goc/g++.1
cp: cannot stat 'doc/gcc.1': No such file or directory
make[1]:  *** [doc/g++.1] Error 1
make[1]: Leaving directory '/var/tmp/portage/gcc-3.4.0/work/build/gcc'
make: ** [install-gcc] Error 2

Any help?

TheCoop, just emerge sync, and try again
it's not yet a good idia to bootstrap with gcc-3.4, till
a compatibility layer is deployed in portage.
it's better to bootstrap with the latest gcc-3.3.3, get your
system in order, then migrate to gcc-3.4.
hth


I succesfully bootstraped a new system with gcc 3.4 & uninstalled gcc 3.2. The only things I noticed not working anymore were java related stuff (I use sun-jdk), and this because of missing libgcc.so.6. I solved the problem by taking from the binary package of gcc 3.2 all the libraries I couldn't find on my system anymore, and putting them to the right locations. Then, after running ldconfig, everything went fine again.

yes, this can be done, but it's not clean.
it's better to build a nice gcc3.3 slot, then migrate to gcc3.4,
when the time comes where the slot may be ditched, portage
will ditch it for you, i'm i right?? corrections anyone??
hth
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Fri Apr 30, 2004 5:05 pm    Post subject: Reply with quote

@irf2003

CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -ffast-math -ftracer -pipe -frename-registers -fomit-frame-pointer -s"
Back to top
View user's profile Send private message
johnnyboyro
n00b
n00b


Joined: 19 Sep 2003
Posts: 57
Location: Iasi, Romania

PostPosted: Fri Apr 30, 2004 5:09 pm    Post subject: Reply with quote

irf2003 wrote:
PrakashKC wrote:
-fweb still breaks xine-lib, ie I get artifacts when watching dvb. Gotta make a bug report.

no sure what your arch is, but if you are on -march=pentium4
make sure that you have "-mno-sse2" in your compiler
flags.
or just hack the ebuild, nuke these lines
Code:

# fix build errors with sse2
   if [ "`gcc-version`" == "3.2" ]; then
      use x86 && append-flags -mno-sse2
   fi

   if [ "`gcc-version`" == "3.3" ]; then
      use x86 && append-flags -mno-sse2
   fi

replace the above with
Code:

use x86 && append-flags -mno-sse2

if the above doesn't work, clear your ccache as it may be poluted, and try again
Code:

ccache -Cz

hth


-fweb is new in gcc3.4, so
Quote:

if [ "`gcc-version`" == "3.2" ]; then
use x86 && append-flags -mno-sse2
fi

if [ "`gcc-version`" == "3.3" ]; then
use x86 && append-flags -mno-sse2
fi

makes no sense for gcc 3.4. (it makes no sense anyway)
Also, I succesfuly build and used xine-lib with gcc 3.3.3 with -fsse2, so I don't think this is the problem ...
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Apr 30, 2004 5:19 pm    Post subject: Reply with quote

PrakashKC wrote:
@irf2003

CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -ffast-math -ftracer -pipe -frename-registers -fomit-frame-pointer -s"


Uh-oh. Don't use -s in your CFLAGS. -s causes all symbols and relocation information to be stripped out of the executables produced (shared objects included). portage already takes care of that by default (see the FEATURES variable in make.conf, specifically the nostrip feature if you want it turned off). There are certain shared objects (for example X.Org/Xfree86 drivers) that will not function correctly with the symbol table stripped - and you're forcing it to be stripped regardless of the RESTRICT="nostrip" option in the ebuild. Not tomention that -s is a linker option, doesn't control anything related to compilation and hence its place isn't really CFLAGS (that's from a purist standpoint).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3 ... 24, 25, 26 ... 71, 72, 73  Next
Page 25 of 73

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum