From owner-freebsd-questions@FreeBSD.ORG Thu Feb 2 16:58:00 2012 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 D72D81065670 for ; Thu, 2 Feb 2012 16:58:00 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AA16C8FC17 for ; Thu, 2 Feb 2012 16:58:00 +0000 (UTC) Received: by pbdv10 with SMTP id v10so2718996pbd.13 for ; Thu, 02 Feb 2012 08:58:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Q42i26yYPx5GiVk0xiX4o/khKE+77OHR/otJJRcEgYU=; b=WqAlacFD4Muw/lDSPIDWr1iTP0eYFKEPCde7cd04JYBgwveFiAWocmbfSXgMf+yzSy vhb29jLjLC0LziNN8PffUVE+wj8h/ppYjGPKWvkyRKINWTx063vH+5bycYpLwbVG5p+z oBlKCFv2qbiBrRk4acChvLTOWo+5Uzpp2jsEM= MIME-Version: 1.0 Received: by 10.68.73.105 with SMTP id k9mr8497441pbv.121.1328201880025; Thu, 02 Feb 2012 08:58:00 -0800 (PST) Sender: pldrouin@gmail.com Received: by 10.68.58.71 with HTTP; Thu, 2 Feb 2012 08:57:59 -0800 (PST) In-Reply-To: <4F2A3E0F.6060707@gmail.com> References: <4F2A3E0F.6060707@gmail.com> Date: Thu, 2 Feb 2012 11:57:59 -0500 X-Google-Sender-Auth: 78M7FHoS0xFqBLDuVkP1L_Zj6bs Message-ID: From: Pierre-Luc Drouin To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Clang and ports 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: Thu, 02 Feb 2012 16:58:01 -0000 On Thu, Feb 2, 2012 at 2:41 AM, Joshua Isom wrote: > I know that build cluster lists some ports that have problems with clang, > but it doesn't say if they're tested or not. I set up a clang jail to test > out things before switching to clang for general use. When I try running > mencoder to encode a file to x264, it seg faults. Changing options doesn't > change anything. A gdb backtrace points to x264 being the problem. > Everything compiles and installs, but the build's useless. Is clang ready > for ports, or is it only safe for kernel/world? > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > I noticed that anything that uses Java does not work when the FreeBSD world is built with clang, because Java does not like something about vsnprintf in libc as generated by Clang and it causes it to always seg fault (at least on i386). I posted a PR about this: http://www.freebsd.org/cgi/query-pr.cgi?pr=164637