From owner-freebsd-current@freebsd.org Sat Jun 30 00:29:43 2018 Return-Path: Delivered-To: freebsd-current@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 F310AFD5CE0 for ; Sat, 30 Jun 2018 00:29:42 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 69BC982A01 for ; Sat, 30 Jun 2018 00:29:42 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2070AFD5CDA; Sat, 30 Jun 2018 00:29:42 +0000 (UTC) Delivered-To: current@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 D5011FD5CD9 for ; Sat, 30 Jun 2018 00:29:41 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 63322829FE; Sat, 30 Jun 2018 00:29:41 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id p185-v6so5144077itp.4; Fri, 29 Jun 2018 17:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uA87LiOc7Cna1QwPkKREbZ6yOUcSdf6AfluvPJ5BnTs=; b=h7B9feSJYPRPkQCS9UsdoVM0gh5R7Y7txf11KdEdvDPVRT15T6YVzePLk9uNIDhg+S 4VqwPKSR/n/f3LLBu1CFf2mh2TROBL8ZGXa2avsCSTLJiYGz/FItIbQUrN2d6ZVr1mt3 HZjq9WDjrPBxmMh3Slgn+ne/Y0cf7RBSpYMI8QM9aj/I6GPSIzbOYDJrei4wfPWL9klM m4rivCp4JkrxBeC2YFxXhp3kqbwspY8LBRYaJWpmMTj/S5tT7d5tdCAY0+pEMUqDb1PZ 5Dap7/JhyfMFfUAWDNJSjX4Pz75yOc1q9B+2AWEuiwD9eNoMgndI+QNS53am77rlGYDp xWrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uA87LiOc7Cna1QwPkKREbZ6yOUcSdf6AfluvPJ5BnTs=; b=tugb3Orcp+ZLBy22PMyHOGoNdm46JlyL/P6Af3YboAiRImbdZeTpYiDZrd4n+FtN7W UqC5ta5w13nfYz2IZw+KN0Ed6NCLJ7Nu5elhW4l5A7bJZRTXBllL/SarrxuvYp2nh9Ie MrdnIHEBib+k+QMcXrpG5UcAWB6rYYXAOqMwDAierFez+et7jkE1KXWb6yQ7bJhfBJkW CuR3mc8BuenmcCGvlXq/W/Ug3dDMd+cInVEgaFzsiQirPYxnHzn5KhX1CYQFIWvZFncB oxTqCqJOBWUzrANgVFi4BNSk5EfiKPCOlQahf40rhbyFVROaA+OaMiuWlEhZvNVtOtHj zLtA== X-Gm-Message-State: APt69E2HxzHmxVn1yxao78sT2fukVKn37tPMMrmpIzGwadzGg2NjLdCB 3Jnjy+5S3fUEeAxpfEy/l8bAluQ5x3AqstM4WIU= X-Google-Smtp-Source: AAOMgpeXTQVRaIyjZMYCAOByRWiXjjFwGlqLIZkdH9fXPTotRuJHKrrGuw0s/ajziTI6G5ABfKYtB0O1h/wwClRnnX0= X-Received: by 2002:a02:1045:: with SMTP id 66-v6mr13756140jay.133.1530318580533; Fri, 29 Jun 2018 17:29:40 -0700 (PDT) MIME-Version: 1.0 References: <611243783F62AF48AFB07BC25FA4B10629917799@DLDEFFMIMP01EXC.intra.dlr.de> <39E9E542-8690-40AA-92D3-DA5523DE6FDD@FreeBSD.org> In-Reply-To: <39E9E542-8690-40AA-92D3-DA5523DE6FDD@FreeBSD.org> From: blubee blubeeme Date: Sat, 30 Jun 2018 08:29:50 +0800 Message-ID: Subject: Re: RiscV tinderbox fails To: Dimitry Andric Cc: Hartmut.Brandt@dlr.de, current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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: Sat, 30 Jun 2018 00:29:43 -0000 It seems to be that the FreeBSD implementation of the RISC-V has stalled and development is only proceeding on Linux with GCC. In my opinion FreeBSD forget GCC and work on implementing RISC-V backend for the llvm project. On Sat, Jun 30, 2018, 08:18 Dimitry Andric wrote: > On 29 Jun 2018, at 13:33, Hartmut.Brandt@dlr.de wrote: > > > > is it supposed not to fail? I get: > > > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In > function > > `__gedf2': > > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:101: multiple > definition > > of `__gedf2' > > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(gedf2.o):/usr/src/lib/libc/s > > oftfloat/gedf2.c:18: first defined here > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In > function > > `__eqdf2': > > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:127: multiple > definition > > of `__eqdf2' > > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(eqdf2.o):/usr/src/lib/libc/s > > oftfloat/eqdf2.c:18: first defined here > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In > function > > `__ltdf2': > > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:127: multiple > definition > > of `__ltdf2' > > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(ltdf2.o):/usr/src/lib/libc/s > > oftfloat/ltdf2.c:18: first defined here > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In > function > > `__nedf2': > > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:127: multiple > definition > > of `__nedf2' > > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(nedf2.o):/usr/src/lib/libc/s > > oftfloat/nedf2.c:18: first defined here > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In > function > > `__gtdf2': > > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:142: multiple > definition > > of `__gtdf2' > > > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(gtdf2.o):/usr/src/lib/libc/s > > oftfloat/gtdf2.c:18: first defined here > > collect2: error: ld returned 1 exit status > > *** [nologin.full] Error code 1 > > As far as I know, it has been broken for quite some time. I guess for > riscv those functions need to be defined either in libc, or in > compiler-rt, but not both... > > -Dimitry > >