Re: lang/gcc34 broken on 8-current?!?!?
I had this same problem. There is an error in the freebsd-spec.h file which causes __FreeBSD__ to be defined twice when FBSD_MAJOR=8. This is caused by a missing 'else' before the 'if (FBSD_MAJOR == 7)' statement. See PR 117287 for the fix. If you have devel/gccxml installed, you'll also need PR 117289. Scot On 10/19/07, Aryeh M. Friedman [EMAIL PROTECTED] wrote: FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Oct 18 20:17:48 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONSTER amd64 mv tmp-libgcc.mk libgcc.mk TARGET_CPU_DEFAULT= \ HEADERS=ansidecl.h DEFINES= \ /bin/sh .././..//gcc-3.4.6/gcc/mkconfig.sh tconfig.h ./xgcc -B./ -B/usr/local/x86_64-portbld-freebsd8.0/bin/ -isystem /usr/local/x86_64-portbld-freebsd8.0/include -isystem /usr/local/x86_64-portbld-freebsd8.0/sys-include -L/usr/ports/lang/gcc34/work/build/gcc/../ld -O2 -DIN_GCC-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. -I.././..//gcc-3.4.6/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time \ -c .././..//gcc-3.4.6/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o built-in:78:1: warning: __FreeBSD__ redefined built-in:77:1: warning: this is the location of the previous definition In file included from .././..//gcc-3.4.6/gcc/tsystem.h:44, from .././..//gcc-3.4.6/gcc/crtstuff.c:62: ./include/stddef.h:57:26: machine/ansi.h: No such file or directory gmake[2]: *** [crtbegin.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lang/gcc34 broken on 8-current?!?!?
FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Oct 18 20:17:48 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONSTER amd64 mv tmp-libgcc.mk libgcc.mk TARGET_CPU_DEFAULT= \ HEADERS=ansidecl.h DEFINES= \ /bin/sh .././..//gcc-3.4.6/gcc/mkconfig.sh tconfig.h ./xgcc -B./ -B/usr/local/x86_64-portbld-freebsd8.0/bin/ -isystem /usr/local/x86_64-portbld-freebsd8.0/include -isystem /usr/local/x86_64-portbld-freebsd8.0/sys-include -L/usr/ports/lang/gcc34/work/build/gcc/../ld -O2 -DIN_GCC-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. -I.././..//gcc-3.4.6/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time \ -c .././..//gcc-3.4.6/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o built-in:78:1: warning: __FreeBSD__ redefined built-in:77:1: warning: this is the location of the previous definition In file included from .././..//gcc-3.4.6/gcc/tsystem.h:44, from .././..//gcc-3.4.6/gcc/crtstuff.c:62: ./include/stddef.h:57:26: machine/ansi.h: No such file or directory gmake[2]: *** [crtbegin.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error compiling gcc34 on 5.2.1
On 7/5/07, Sabastian Cooke [EMAIL PROTECTED] wrote: Hi, I am trying to update amavisd-new from amavisd-new-2.4.5,1 to 2.5.1 on our FreeBSD mail server, and it seems to require an update to file utility and that requires gcc34 and i only have gcc 3.3.3 installed, when either the script or me tries to build gcc34 from the ports collection, i get this errors which i dont know how to diagnose, is there an easier way to update gcc or anyone can help on these errors? If I were you, I would upgrade to FreeBSD 5.5-STABLE, then to RELENG_6.2 or RELENG_6, 5.2.1 is too slow and not supported anymore. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error compiling gcc34 on 5.2.1
Hi, I am trying to update amavisd-new from amavisd-new-2.4.5,1 to 2.5.1 on our FreeBSD mail server, and it seems to require an update to file utility and that requires gcc34 and i only have gcc 3.3.3 installed, when either the script or me tries to build gcc34 from the ports collection, i get this errors which i dont know how to diagnose, is there an easier way to update gcc or anyone can help on these errors? /usr/ports/lang/gcc34/work/build/gcc/xgcc -B/usr/ports/lang/gcc34/work/build/gcc/ -B/usr/local/i386- portbld-freebsd5.2.1/bin/ -B/usr/local/i386-portbld-freebsd5.2.1/lib/ -isystem /usr/local/i386-portbld-freebsd5.2.1/include -isystem /usr/local/i386-portbld-freebsd5.2.1/sys-include -c -DHAVE_CONFIG_H -O2 -O -pipe -mcpu=pentiumpro -I. -I../.././..//gcc-3.4.6/libiberty/../include -W -Wall -Wtraditional -pedantic ../.././..//gcc-3.4.6/libiberty/fibheap.c -o fibheap.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ../.././..//gcc-3.4.6/libiberty/fibheap.c: In function `fibheap_union': ../.././..//gcc-3.4.6/libiberty/fibheap.c:166: warning: implicit declaration of function `free' ../.././..//gcc-3.4.6/libiberty/fibheap.c: In function `fibheap_delete_node': ../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function) ../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once ../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: for each function it appears in.) ../.././..//gcc-3.4.6/libiberty/fibheap.c: In function `fibheap_consolidate': ../.././..//gcc-3.4.6/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386- portbld-freebsd5.2.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. *** Error code 1 Stop in /usr/ports/lang/gcc34. *** Error code 1 Stop in /usr/ports/sysutils/file. *** Error code 1 Stop in /usr/ports/sysutils/file. *** Error code 1 Stop in /usr/ports/security/amavisd-new. *** Error code 1 Stop in /usr/ports/security/amavisd-new. *** Error code 1 Stop in /usr/ports/security/amavisd-new. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade42713.0 make reinstall egrep: /var/db/pkg/amavisd-new-2.4.5,1/+CONTENTS: No such file or directory --- Restoring the old version vscan:*:1005:clamav You already have a group vscan, so I will use it. vscan:*:1004:1005::0:0:Scanning Virus Account:/var/amavis:/bin/sh You already have a user vscan, so I will use it. Created /var/amavis directory. Created /var/amavis/db directory. Created /var/amavis/tmp directory. Created /var/amavis/var directory. Created /var/virusmails directory. pkg_add: command '[ ! -f /usr/local/etc/amavisd.conf ] cp /usr/local/etc/amavisd.conf-dist /usr/local/etc/amavisd.conf' failed ** Fix the installation problem and try again. [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 393 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! security/amavisd-new (amavisd-new-2.4.5,1)(install error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Modifying gcc34 makefile to compile with java
Hi Kris. This is a libgcj in gcc issue and have posted to [EMAIL PROTECTED] list. I see that there is a similar reference to something similar on Darwin platform which has FreeBSD roots. It seems that unwind symbol may be getting introduced into libgcj (so that when compiled produces the error). I believe this symbol provides support for libunwind for specific platforms other than FreeBSD. l'll have to track down the person responsible for the FreeBSD port since they should also be interested in determining a solution. Regards, David Kris Kennaway wrote: On Sat, Nov 18, 2006 at 08:58:01PM -0400, David Pratt wrote: Hi Kris. I realize the java support prior to 4 requires a ton of RAM to compile but I also know the compiler is reasonably good afterwards (from other platforms) but have not been successful with FreeBSD at this point. I attempted a few tries at 4.1 an 4.2 today and getting this sort of an error using gcj: /usr/local/lib/gcc-4.2.0/libgcj.so.8: Undefined symbol _Unwind_GetIPInfo so am looking to try something earlier that is known to work on Linux. If I were you I'd focus on solving that error instead. Without more context I can't help though. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Modifying gcc34 makefile to compile with java
On Sun, Nov 19, 2006 at 01:04:23PM -0400, David Pratt wrote: Hi Kris. This is a libgcj in gcc issue and have posted to [EMAIL PROTECTED] list. I see that there is a similar reference to something similar on Darwin platform which has FreeBSD roots. It seems that unwind symbol may be getting introduced into libgcj (so that when compiled produces the error). I believe this symbol provides support for libunwind for specific platforms other than FreeBSD. l'll have to track down the person responsible for the FreeBSD port since they should also be interested in determining a solution. They're easy to find, and listed right there in the port makefile :-) Kris pgpvAAQeKoRE8.pgp Description: PGP signature
Modifying gcc34 makefile to compile with java
Hi. I have recently tried to compile gcc34 port with java by modifying Makefile by adding the argument --enable-languages=c,c++,java This failed giving me a list of languages that excluded java. This version of gcc is capable of compiling with java. Can someone provide some advice on getting this port to compile with java properly. Anyone done this? Many thanks. Regards, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Modifying gcc34 makefile to compile with java
On Sat, Nov 18, 2006 at 07:19:16PM -0400, David Pratt wrote: Hi. I have recently tried to compile gcc34 port with java by modifying Makefile by adding the argument --enable-languages=c,c++,java This failed giving me a list of languages that excluded java. This version of gcc is capable of compiling with java. Can someone provide some advice on getting this port to compile with java properly. Anyone done this? Many thanks. AFAIK you really don't want to use gcc 3.4's java support, it was not usable before the 4.x branch. Accordingly, the gcc 4.x ports allow java to be specified. Kris pgpSKzfz4puxl.pgp Description: PGP signature
Re: Modifying gcc34 makefile to compile with java
Hi Kris. I realize the java support prior to 4 requires a ton of RAM to compile but I also know the compiler is reasonably good afterwards (from other platforms) but have not been successful with FreeBSD at this point. I attempted a few tries at 4.1 an 4.2 today and getting this sort of an error using gcj: /usr/local/lib/gcc-4.2.0/libgcj.so.8: Undefined symbol _Unwind_GetIPInfo so am looking to try something earlier that is known to work on Linux. Regards, David Kris Kennaway wrote: On Sat, Nov 18, 2006 at 07:19:16PM -0400, David Pratt wrote: Hi. I have recently tried to compile gcc34 port with java by modifying Makefile by adding the argument --enable-languages=c,c++,java This failed giving me a list of languages that excluded java. This version of gcc is capable of compiling with java. Can someone provide some advice on getting this port to compile with java properly. Anyone done this? Many thanks. AFAIK you really don't want to use gcc 3.4's java support, it was not usable before the 4.x branch. Accordingly, the gcc 4.x ports allow java to be specified. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Modifying gcc34 makefile to compile with java
On Sat, Nov 18, 2006 at 08:58:01PM -0400, David Pratt wrote: Hi Kris. I realize the java support prior to 4 requires a ton of RAM to compile but I also know the compiler is reasonably good afterwards (from other platforms) but have not been successful with FreeBSD at this point. I attempted a few tries at 4.1 an 4.2 today and getting this sort of an error using gcj: /usr/local/lib/gcc-4.2.0/libgcj.so.8: Undefined symbol _Unwind_GetIPInfo so am looking to try something earlier that is known to work on Linux. If I were you I'd focus on solving that error instead. Without more context I can't help though. Kris pgp4zHvNzF63H.pgp Description: PGP signature
gcc34 build error on Freebsd 5.1
Greetings, I have 5.1 running on my machine. I installed cvsup and upgraded my ports with it. I then went into /usr/ports/databases/firebird-client and did a make install. Of course it installed several other dependencies when I did that. One thing is was trying to build/install was gcc34. The following error was generated and the entire process came to a halt. ../.././..//gcc-3.4-20050719/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. *** Error code 1 I google'd and searched the freebsd website/mailing list, FAQ, but didn't find an answer to this problem. Anybody have an pointers/help so I can get on with the install ? thanks in advance, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc34 build error on Freebsd 5.1
On Mon, Jul 25, 2005 at 09:37:02AM -0500, Darryl Hoar wrote: Greetings, I have 5.1 running on my machine. I installed cvsup and upgraded my ports with it. I then went into /usr/ports/databases/firebird-client and did a make install. Of course it installed several other dependencies when I did that. One thing is was trying to build/install was gcc34. The following error was generated and the entire process came to a halt. ../.././..//gcc-3.4-20050719/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. *** Error code 1 I google'd and searched the freebsd website/mailing list, FAQ, but didn't find an answer to this problem. Anybody have an pointers/help so I can get on with the install ? FYI, 5.1 is very old and long out of support. You should update to a modern release of FreeBSD if you want your port builds (and FreeBSD itself) to work smoothly. Kris pgpEzfybW2hJT.pgp Description: PGP signature
RE: gcc34 build error on Freebsd 5.1
I had thought that at first, but felt is was the windows copout to install a brand new version instead of figuring out the error message. I want to install (not upgrade) a new version on my 5.1 box. Couldn't find pointers for installing (not upgrading) from an existing freebsd box. Also, is 5.4 the most recent release ? -Original Message- From: Kris Kennaway [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 11:34 AM To: Darryl Hoar Cc: freebsd-questions@freebsd.org Subject: Re: gcc34 build error on Freebsd 5.1 On Mon, Jul 25, 2005 at 09:37:02AM -0500, Darryl Hoar wrote: Greetings, I have 5.1 running on my machine. I installed cvsup and upgraded my ports with it. I then went into /usr/ports/databases/firebird-client and did a make install. Of course it installed several other dependencies when I did that. One thing is was trying to build/install was gcc34. The following error was generated and the entire process came to a halt. ../.././..//gcc-3.4-20050719/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. *** Error code 1 I google'd and searched the freebsd website/mailing list, FAQ, but didn't find an answer to this problem. Anybody have an pointers/help so I can get on with the install ? FYI, 5.1 is very old and long out of support. You should update to a modern release of FreeBSD if you want your port builds (and FreeBSD itself) to work smoothly. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc34 build error on Freebsd 5.1
On Mon, Jul 25, 2005 at 01:38:08PM -0500, Darryl Hoar wrote: I had thought that at first, but felt is was the windows copout to install a brand new version instead of figuring out the error message. While it is surely possible to figure out the problem and solve it, this may involve some significant diagnosis and surgery on your part, and it will probably be easier for you to just update to a version where you know that the software is buildable. I want to install (not upgrade) a new version on my 5.1 box. Couldn't find pointers for installing (not upgrading) from an existing freebsd box. You just install as you always would, e.g. by downloading a CD image. If you don't want to have to reconfigure your system (e.g. /etc, etc) then you use the 'upgrade' facility of sysinstall. All of this is documented in the installation instructions distributed with the release, and on the website. Also, is 5.4 the most recent release ? Yes. Kris pgpKaN5MeGvUb.pgp Description: PGP signature
Re: gcc34
Chris Neustrup wrote: Henrik W Lund wrote: Chris Neustrup wrote: I am trying to upgrade from 5.2.1 to 5.3 current. I am Greetings! Don't know how you can fix this, but you don't need to install gcc3.4 from ports. Upgrading from 5.2.1 to 5.3 can be done in the make buildworld, make buildkernel, make installkernel, make installworld procedure outlined in the handbook. The buildworl target will populate Hi Henrik, I got as far as the make buildworld, and then an X11 failure occurred: === gnu/usr.bin/groff/font/devX75 === gnu/usr.bin/groff/font/devX75-12 === gnu/usr.bin/groff/font/devascii rm -f /usr/ports/x11-fonts DESC rm: /usr/ports/x11-fonts: is a directory *** Error code 1 Stop in /usr/src/gnu/usr.bin/groff/font/devascii. This has happened before when I was doingsome X11 upgrades. Do you see anything wrong with this? Peace, cn. Hmm... Cryptic make failures like that are puzzling. The best advice I can give is to clean out cruft from earlier builds by doing: cd /usr/src make cleanworld then trying again. If that doesn't work, try cvsupping again to pull some fresh sources. If that doesn't work /either/, I'm all out of ideas, sorry. :-( Maybe someone more intimate with the build procedure can shed some light? -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc34
On Sun, Oct 17, 2004 at 07:16:37PM +0200, Henrik W Lund wrote: Hi Henrik, I got as far as the make buildworld, and then an X11 failure occurred: === gnu/usr.bin/groff/font/devX75 === gnu/usr.bin/groff/font/devX75-12 === gnu/usr.bin/groff/font/devascii rm -f /usr/ports/x11-fonts DESC rm: /usr/ports/x11-fonts: is a directory *** Error code 1 Stop in /usr/src/gnu/usr.bin/groff/font/devascii. This has happened before when I was doingsome X11 upgrades. Do you see anything wrong with this? The only thing I can think of is that you have environment pollution. buildworld has nothing to do with ports, nor X11. Kris pgpcINOHIYaIQ.pgp Description: PGP signature
gcc34
I am trying to upgrade from 5.2.1 to 5.3 current. I am failing to build gcc34. Here is a snip of the lang build: /usr/ports/lang/gcc34/work/build/gcc/xgcc -B/usr/ports/lang/gcc34/work/build/gcc/ ... `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_union': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:166: warning: implicit declaration of function `free' ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_delete_node': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function) ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: for each function it appears in.) ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_consolidate': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.2.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. How can I fix this? tia, cn. -- This line blank left intentionally Warning: Due to circumstances beyond your control, these are my opinions Chris Neustrup [EMAIL PROTECTED] 925/935-7970 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc34
On Fri, Oct 15, 2004 at 10:24:50AM -0700, Chris Neustrup wrote: I am trying to upgrade from 5.2.1 to 5.3 current. I am failing to build gcc34. Here is a snip of the lang build: Why do you need to build gcc34 in the first place, since it's included in the base system in 5.3? Kris pgpG7WeBu8tjU.pgp Description: PGP signature
Re: gcc34
Chris Neustrup wrote: I am trying to upgrade from 5.2.1 to 5.3 current. I am failing to build gcc34. Here is a snip of the lang build: /usr/ports/lang/gcc34/work/build/gcc/xgcc -B/usr/ports/lang/gcc34/work/build/gcc/ ... `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_union': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:166: warning: implicit declaration of function `free' ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_delete_node': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function) ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: for each function it appears in.) ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_consolidate': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.2.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. How can I fix this? tia, cn. Greetings! Don't know how you can fix this, but you don't need to install gcc3.4 from ports. Upgrading from 5.2.1 to 5.3 can be done in the make buildworld, make buildkernel, make installkernel, make installworld procedure outlined in the handbook. The buildworl target will populate /usr/obj with (among other things) the new gcc3.4 system compiler, and the buildkernel target will utilize this newly built gcc3.4 in /usr/obj. It's the old way of doing this that will mess things up (as will all sorts of short cuts). As long as you follow the following proedure, you'll be fine: cd /usr/src make cleanworld make buildworld make buildkernel (KERNCONF=YOUR_CUSTOMIZED_KERNEL) shutdown -r now (boot into single user) fsck -y mount -u / mount -a adjkerntz -i mergemaster -p (do *not* skip this one! 5.3 introduces some new system user accounts, be sure to get those merged into /etc/passwd and /etc/group) cd /usr/src make installkernel (KERNCONF=YOUR_CUSTOMIZED_KERNEL) make installworld shutdown -r now (and cross your fingers ;-) ) Others, possibly more qualified, may tell you that some of these steps are not neede, and they might be right. I did it this exact way, and it worked for me. :-D -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gcc34 Question - Request for help
Hi there, I have just install the gcc 3.4 into my FreeBSD 4.10 via the ports/lang after make, make check and make install it shows that all install... but when I type : gcc -v it still show my old version 2.95.4 My question is: How do I go about in making my machine to use the new gcc34? What will be the next step after make install ? Anyone can help??...I'm confuse and this is not the first time I come accross as I have the same problem with my gcc33. Thank you Sincerely Adrian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc34 Question - Request for help
On Wed, 11 Aug 2004, SP Network Solutions wrote: Hi there, I have just install the gcc 3.4 into my FreeBSD 4.10 via the ports/lang after make, make check and make install it shows that all install... but when I type : gcc -v it still show my old version 2.95.4 My question is: How do I go about in making my machine to use the new gcc34? What will be the next step after make install ? Anyone can help??...I'm confuse and this is not the first time I come accross as I have the same problem with my gcc33. The appropriate binaries are installed as gcc34, c. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Goedel would be proud - I'm both inconsistent _and_ incomplete. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation of gcc34
I have been unable to install gcc version 3.4 on my system. The last few lines of output are as follows: ../.././..//gcc-3.4-20040414/libiberty/fibheap.c: In function `fibheap_union': ../.././..//gcc-3.4-20040414/libiberty/fibheap.c:166: warning: implicit declaration of function `free' ../.././..//gcc-3.4-20040414/libiberty/fibheap.c: In function `fibheap_delete_node': ../.././..//gcc-3.4-20040414/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function) ../.././..//gcc-3.4-20040414/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once ../.././..//gcc-3.4-20040414/libiberty/fibheap.c:285: error: for each function it appears in.) ../.././..//gcc-3.4-20040414/libiberty/fibheap.c: In function `fibheap_consolidate': ../.././..//gcc-3.4-20040414/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.2.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. The entire file may be view here: http://www.seibercom.us/BSD/nohup.out If anyone has any suggestions, I would appreciate hearing them. I am running FreeBSD 5.2.1. Thanks! Gerard Seibert [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]