From owner-svn-src-all@freebsd.org Fri May 11 18:06:11 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41A34FAFD12 for ; Fri, 11 May 2018 18:06:11 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) (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 B857268FD0 for ; Fri, 11 May 2018 18:06:10 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f51.google.com with SMTP id 144-v6so3028286iti.5 for ; Fri, 11 May 2018 11:06:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:cc; bh=Ywwi2RLXgeMcUULy7Bffcl3HuTWsDerRJ7QQj27ySVc=; b=D13PiObRIBSFCwKfD+d8dpWONyJrv6+sznsoTurmilc4raeFvroUcqXrbwdZi2yUJ8 DcH/1hYf8BMnf1VeVAOohXxRgOX2nq/bmrmLkr01/nHwZa+HloE2Yqc1sU6fiIIGpxkC AFo1RzQuNUN41PlluPEcUr3HKAlpS4NGId1Puwvd101Q/fMJMMN7GoaTfYgVbUBwamis HerD5Rn7SJ4YLpho3Jbx/HHvY1AKhbQH7HzOxXqGJ78DZwgnQElNfe5kO5WP0u0bF7HV 07L7F1BJkLo6tQt24WTNz8rxRheE/pZkDLV2mgLL39SIemb/g6KUFlrs/cssZ4e1am/V 43ew== X-Gm-Message-State: ALKqPwegjJ+Hc/2Hvq0bsE+/lI3PLRE29NvV5Gh+TFVBNR5gHCeQjFqO aOUUm0RaZAFEZrtJlv1iDUZ+C2nx X-Google-Smtp-Source: AB8JxZqwmhYgQCs5ksAU4/ulhkhLrTL7i+Y0v9jM0cvq+IDgL+wEmcWBn+GbMNKO7u9Edt46tlMHPA== X-Received: by 2002:a24:f102:: with SMTP id c2-v6mr4103798iti.121.1526061968693; Fri, 11 May 2018 11:06:08 -0700 (PDT) Received: from mail-it0-f45.google.com (mail-it0-f45.google.com. [209.85.214.45]) by smtp.gmail.com with ESMTPSA id x137-v6sm879271ite.5.2018.05.11.11.06.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 11:06:08 -0700 (PDT) Received: by mail-it0-f45.google.com with SMTP id e20-v6so3231262itc.1 for ; Fri, 11 May 2018 11:06:08 -0700 (PDT) X-Received: by 2002:a24:b310:: with SMTP id e16-v6mt4752827itf.58.1526061967940; Fri, 11 May 2018 11:06:07 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 2002:a02:a40b:0:0:0:0:0 with HTTP; Fri, 11 May 2018 11:06:07 -0700 (PDT) In-Reply-To: References: <201805101501.w4AF1iI0039082@repo.freebsd.org> <20180511100713.GG6887@kib.kiev.ua> From: Conrad Meyer Date: Fri, 11 May 2018 11:06:07 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r333461 - head/sys/amd64/amd64 Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 18:06:11 -0000 PR here, for the curious: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228161 On Fri, May 11, 2018 at 11:00 AM, Conrad Meyer wrote: > On Fri, May 11, 2018 at 3:07 AM, Konstantin Belousov > wrote: >> On FreeBSD, gcc configuration requires explicit --enable-gnu-indirect-function >> option. I see it in e.g. lang/gcc7 port Makefile. >> >> On the other hand, I do not understand how devel/amd64-xtoolchain-gcc >> and devel/powerpc64-xtoolchain-gcc are build, so cannot see whether the >> switch is added to the configure invocation. But I suspect that it is >> not. >> >> In other words, most likely the problem is due to the port itself. > > Sure, I will try to track it down and file a port bug. Until then, > though, head is broken for cross toolchain GCC users :-(. > > I believe xtoolchain GCC is configured here: > https://svnweb.freebsd.org/ports/head/devel/powerpc64-gcc/Makefile?view=markup#l44 > (Indeed, --enable-gnu-indirect-function is absent.) > > Thanks, > Conrad