From owner-freebsd-arm@FreeBSD.ORG Wed May 27 10:04:06 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4F43BB6 for ; Wed, 27 May 2015 10:04:06 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-vn0-x22d.google.com (mail-vn0-x22d.google.com [IPv6:2607:f8b0:400c:c0f::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85840984 for ; Wed, 27 May 2015 10:04:06 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by vnbf1 with SMTP id f1so340326vnb.6 for ; Wed, 27 May 2015 03:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=wDNJBfnjCjybbgHke4uzAza3hLTzc3eAr6BxwPCeXak=; b=MSXMOO0GzhQbBGWYQ3BYORT+5K++c45tt2kgwhUSR7qHoyYFGDLfqdnv2v19dJAp1F OUaClHAgTFxqRqbwy5Sfcbb5iRPk3PkYU2q+EpKgoo/7l1B96fkfwddw6T6J5tMkt4vv muUM3LKAWfzaEeIcEeqkML0V4/Fyvo/ioYvuwi2HRU92ekYV6XOuGHF6pzXhI5QYCJno rWnhKlbFAv0X/gTSFouU4gz5tvemCMXix+vLOmPDv79Q8jtBiYkDE+l4RpJ5F91b5/hC 1egT1gD3N6ryAJouEXjDmU/sRTdCUpotS48+8G9Y664wCLhP1OgZrc8McrSLWqfNAljr 8K3A== X-Received: by 10.52.112.36 with SMTP id in4mr36816618vdb.3.1432721045557; Wed, 27 May 2015 03:04:05 -0700 (PDT) Received: from mbp.home (179-125-134-20.desktop.com.br. [179.125.134.20]) by mx.google.com with ESMTPSA id c7sm7225990vdw.16.2015.05.27.03.04.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 May 2015 03:04:04 -0700 (PDT) Sender: Renato Botelho From: Renato Botelho Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Segfault when linking with -pthread on recent stable/10 ARM Message-Id: Date: Wed, 27 May 2015 07:04:01 -0300 To: freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 10:04:06 -0000 I=E2=80=99m building some packages for arm.armv6 on stable/10 for a = while using poudriere + native-tools. Last week I updated jails to = recent stable/10 and started to see the same issue on 2 ports = (net/openldap24-client and net/ntp). I noted there were a lot of ARM = MFCs recently so probably we got a regression at some point. I also created a regular jail, without native-xtools, and result is the = same: checking for GNU Pth pthread.h... no checking for sched.h... (cached) yes checking for pthread_create in default libraries... no checking for pthread link with -kthread... no checking for pthread link with -pthread... Segmentation fault (core = dumped) no checking for pthread link with -pthreads... no checking for pthread link with -mthreads... no checking for pthread link with -thread... no checking for pthread link with -lpthread -lmach -lexc -lc_r... no checking for pthread link with -lpthread -lmach -lexc... no checking for pthread link with -lpthread -Wl,-woff,85... no checking for pthread link with -lpthread... Segmentation fault (core = dumped) no checking for pthread link with -lc_r... no checking for pthread link with -threads... no checking for pthread link with -lpthreads -lmach -lexc -lc_r... no checking for pthread link with -lpthreads -lmach -lexc... no checking for pthread link with -lpthreads -lexc... no checking for pthread link with -lpthreads... no configure: error: could not locate usable POSIX Threads =3D=3D=3D> Script "configure" failed unexpectedly. Please report the problem to delphij@FreeBSD.org [maintainer] and attach = the = "/wrkdirs/usr/ports/net/openldap24-client/work/openldap-2.4.40/config.log"= including the output of the failure of your make command. Also, it might = be a good idea to provide an overview of all packages installed on your = system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 I've collected conftest.c used by configure and also compiler arguments = used during test: http://pastebin.com/7hwn9LSW -- Renato Botelho