From owner-freebsd-current@FreeBSD.ORG Wed May 19 16:12:39 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D028C106564A for ; Wed, 19 May 2010 16:12:39 +0000 (UTC) (envelope-from ambrosehua@gmail.com) Received: from mail-qy0-f188.google.com (mail-qy0-f188.google.com [209.85.221.188]) by mx1.freebsd.org (Postfix) with ESMTP id 87E908FC17 for ; Wed, 19 May 2010 16:12:39 +0000 (UTC) Received: by qyk26 with SMTP id 26so5689699qyk.28 for ; Wed, 19 May 2010 09:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=neVr592WYv1SaEYstYgmkJiUp1V0U9oK+ciEl/puWuo=; b=FOC6xrd8uKOTjpUf2ThbyJRgh3ppPi8QVtKWa/GCf8ORpbKEJ0+Vbug19pe3o00/Sx NoYqFgyFqlmJ7XA26zFL7JZstELvTirqoPIrlDPLx72BM+rU2wjdaneJcIkBWquF3MCo r8IH3ff94pbj/0C2GX1ZuhAs8IWlLNEyrlv6A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HEkxibK8XEm042hphp3RfHNxK12adJaFaGKQkbuoR3DO+DfWFEBwKVrSX8hACoU8pK Tm3XdCwYS65bHIAYrdHNzYgXrbg7IK+hjVRxWN5sz2EObVyxG5fam0uYAr9s4B9GN1wH KqeT+t7NObwhrtiAIM8UuIVdZDoyYYCCT1gJ4= MIME-Version: 1.0 Received: by 10.224.27.18 with SMTP id g18mr4929501qac.28.1274283997889; Wed, 19 May 2010 08:46:37 -0700 (PDT) Received: by 10.229.98.205 with HTTP; Wed, 19 May 2010 08:46:37 -0700 (PDT) Date: Wed, 19 May 2010 23:46:37 +0800 Message-ID: From: ambrosehuang ambrose To: freebsd-current@freebsd.org X-Mailman-Approved-At: Wed, 19 May 2010 16:38:39 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: clangBSD build error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 16:12:39 -0000 building clangBSD revision URL: http://svn.freebsd.org/base/projects/clangbsd Repository Root: http://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 208300 Node Kind: directory Schedule: normal Last Changed Author: rdivacky Last Changed Rev: 208260 Last Changed Date: 2010-05-18 18:21:49 +0800 (Tue, 18 May 2010) with llvm-devel(r103179) on freebsd 8 stable amd64 according to clangBSD wiki failed with following message: make -j4 buildworld ------------------------------------------------------------------------------------------------------------------------------------------------- ....................... /usr/src.svn/src/lib/libc/stdlib/malloc.c:1098:38: error: 'tls_model' attribute ignored static __thread arena_t *arenas_map TLS_MODEL; ^ /usr/src.svn/src/lib/libc/stdlib/malloc.c:240:37: note: instantiated from: # define TLS_MODEL __attribute__((tls_model("initial-exec"))) ^ /usr/src.svn/src/lib/libc/stdlib/malloc.c:1103:38: error: 'tls_model' attribute ignored static __thread tcache_t *tcache_tls TLS_MODEL; ^ /usr/src.svn/src/lib/libc/stdlib/malloc.c:240:37: note: instantiated from: # define TLS_MODEL __attribute__((tls_model("initial-exec"))) ^ /usr/src.svn/src/lib/libc/stdlib/malloc.c:1122:37: error: 'tls_model' attribute ignored static __thread bool mmap_unaligned TLS_MODEL; ^ /usr/src.svn/src/lib/libc/stdlib/malloc.c:240:37: note: instantiated from: # define TLS_MODEL __attribute__((tls_model("initial-exec"))) -------------------------------------------------------------------------------------------------------------------------------------------------- it seems that clang does NOT support tls_model attribute, I'm not sure. Does anyone meet similar error ?