From owner-freebsd-arm@freebsd.org Wed May 25 12:20:14 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0065B4965C for ; Wed, 25 May 2016 12:20:14 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::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 7164F139F for ; Wed, 25 May 2016 12:20:14 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by mail-yw0-x22d.google.com with SMTP id x189so45132094ywe.3 for ; Wed, 25 May 2016 05:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JLfWhF4jZVrX1YcqUjXy5fZH8P1oj7gAenjikmbdYU8=; b=boA3LcJI9B7IX+qPddfJ8vqqJmf/QUhDMLbE64D6+pPWTZ83eXqx7Bd5WVAJITdWjh pruinCsMn/sxeEVLNSwadFFR4U/FaGJ2o4UuT6hxKH4TsJbHo8ZHiggzk6s/jcZKqE5Y 5ZjITidtIqiCvEeMzGywLkaZ23Vu1+T+rS7rSZBHqTKCKmOI440qB6iIedrULMnID5Yh j9XV7xrA+LZ868W1j50omnMXAPb5YXajBAWRYaiX09C0nWWU7GjIZPBjz8t6SDN3P1LI bzKT7S1ii3n9t8hunkaPjRyHoNtjFsBy9HI19Ebu7/BzJbHhX336v50mGBrTCN7IsZHP oKLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JLfWhF4jZVrX1YcqUjXy5fZH8P1oj7gAenjikmbdYU8=; b=Vbbz4o8TuXq6wdWdBBM9OQ+ThFbnWQ38VgrhJPYMe3msfCdhNbdhet/sjeMmPeVHt0 Z4N/n1T+BrTnNwqLlBpPCDekw/7M8xiMk1V6ycGGewFljhfo3K/yE5TplPLKyjcI9H6p Tkv6NCMqYz5/0Kum7djCIf/Q1VNF9tOYrHbiA3OjSpQ9H4hRbBr7iWEnECoQ9dYbEtl1 wF9kHHmfJ18BUVK7zMHKTT0yU3eyK4Pq8VwPlYb/gxKEPuLJCg1/fiG6pq9fHLvoyzZ+ /DpkIUm3I+vZGrj/hxI0vhWztc+716RzVeAyYVinO94f9e7wQp2z00Y0rQskAgk8GCPA zV5w== X-Gm-Message-State: ALyK8tKf0MZkXgmtQnzCWDYdYEXaOEll4o6F2Wf+Zt5DKwqeCzqOF12yDbFNgVQlRIys89ElIm1y+dkQr6Z/qg== X-Received: by 10.37.87.196 with SMTP id l187mr1936376ybb.176.1464178813453; Wed, 25 May 2016 05:20:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.215.78 with HTTP; Wed, 25 May 2016 05:19:33 -0700 (PDT) In-Reply-To: <20160525113712.dc1306404bbad0347ac768ef@ulrich-grey.de> References: <20160525113712.dc1306404bbad0347ac768ef@ulrich-grey.de> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Wed, 25 May 2016 14:19:33 +0200 Message-ID: Subject: Re: lang/gcc and lang/gcc5 doesn't build anymore on ARM To: Ulrich Grey Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2016 12:20:14 -0000 2016-05-25 11:37 GMT+02:00 Ulrich Grey : > I have updated to 11.0-CURRENT #0 r300419 (host and jail). > lang/gcc-4.8.5_2 and lang/gcc5-5.3.0 does not build. > Up to now I had no problems to build it on ARM. Here is the error message: configure:3686: /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/xgcc -B/wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/ -B/usr/local/armv6-portbld-freebsd11.0/bin/ -B/usr/local/armv6-portbld-freebsd11.0/lib/ -isyst em /usr/local/armv6-portbld-freebsd11.0/include -isystem /usr/local/armv6-portbld-freebsd11.0/sys-include -g -O2 -O22 -pipe -DLIBICONV_PLUG -fno-strict-aliasing conftest.c >&5 /usr/local/bin/ld: error: a.out uses VFP register arguments, /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtbegin.o does not /usr/local/bin/ld: failed to merge target specific data of file /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtbegin.o /usr/local/bin/ld: error: a.out uses VFP register arguments, /tmp//cchNL2QG.o does not /usr/local/bin/ld: failed to merge target specific data of file /tmp//cchNL2QG.o /usr/local/bin/ld: error: a.out uses VFP register arguments, /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtend.o does not /usr/local/bin/ld: failed to merge target specific data of file /wrkdirs/usr/ports/lang/gcc/work/.build/./gcc/crtend.o collect2: error: ld returned 1 exit status I think the problem is here: https://github.com/freebsd/freebsd-ports/blob/master/lang/gcc/files/patch-arm-support#L289