From owner-freebsd-questions@FreeBSD.ORG Sat Feb 14 06:58:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36675106566B for ; Sat, 14 Feb 2009 06:58:43 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id 070488FC15 for ; Sat, 14 Feb 2009 06:58:42 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so1022869rvb.43 for ; Fri, 13 Feb 2009 22:58:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=B54UWYtgsu4u1MMJmH7wMNZHpLBEHNS9Brl9r85dx6o=; b=Uc8lAN/Iw7Z8LZPGF/FI/c2xqbu+DOqBYpLXqY6oOXOugNJ3q7gpJy1xOwDPETBsUN 82s9LQfc1vesHP++ZRo0ohzja9i5KNbpHlYNbLOB7x6GsOcsnAq6l4R9yzwSnFfO99RG HiZNOmIOReTI6j6gd8M21LIVsC7l9nUD8E8ew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=RqBeR9sijcCRiFrVHW9GD9iovC8Qjr2z4CjL+b1CazSuAtzhpju7T947NNy2U3SaPO e5SNTa9m+Cf2sbI31ZlAdvVtRh1iVVR5L6iyEzBhJoJS0rnnacWdu4Zj7SKQAkNfkeSp AcUHvXl1I1plRvQF3OQ8V7Ssnbtx+29PKslPs= Received: by 10.140.161.11 with SMTP id j11mr1537845rve.114.1234594722580; Fri, 13 Feb 2009 22:58:42 -0800 (PST) Received: from ?192.168.4.149? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id b39sm2085504rvf.9.2009.02.13.22.58.41 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Feb 2009 22:58:42 -0800 (PST) From: Tim Judd To: Shaun In-Reply-To: <20090213233902.7A3F.F4B6BD43@shaunc.com> References: <20090213233902.7A3F.F4B6BD43@shaunc.com> Content-Type: text/plain Date: Fri, 13 Feb 2009 23:58:38 -0700 Message-Id: <1234594718.7816.8.camel@gateway> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading gcc on FreeBSD 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 06:58:43 -0000 On Sat, 2009-02-14 at 00:00 -0600, Shaun wrote: > Hi all, > > One of my machines is running FreeBSD 4.11. It's a bit confused about > its current incarnation of gcc: > > [shaun@agaliarept lang]$ pkg_info | grep gcc > gcc-3.4.6_3,1 GNU Compiler Collection 3.4 > [shaun@agaliarept lang]$ gcc -v > Using builtin specs. > gcc version 2.95.4 20020320 [FreeBSD] > > Another of my machines, which runs FreeBSD 6.4, has gcc 3.4.6: > > [shaun@falwell shaun]$ pkg_info | grep gcc > [shaun@falwell shaun]$ gcc -v > Using built-in specs. > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 3.4.6 [FreeBSD] 20060305 > > Is it safe to install one of the newer gcc ports on FreeBSD 4.11? I've > had this machine for three years; I don't recall ever upgrading the > compiler, although pkg_info seems to think that I did, or at least > attempted to. I'm wondering if there are any risks involved in going > from gcc 2.95 to, say, 3.4.6. Typically I'm happy to pull the latest > stable of just about anything, but the compiler is a different story. > > Thanks, > > Shaun FreeBSD 4.x has not been supported for ports for a long time. Ports are guaranteed to work for the current releases of freebsd and -CURRENT only. Using, or trying, to install anything on 4.x anymore is a gamble. You should upgrade. There was a tag you used to be able to use for 4.x port installs, but I bet that tag hasn't been updated in forever... tag=RELEASE_4_11_0 see: http://www.freebsd.org/releases/4.11R/schedule.html dated Jan/8/2005 With the above tag, and an updated ports tree, i can recommend installing packages (if the tarballs are still on the internet). Without that tag, i don't recommend it.