From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81398 invoked by alias); 20 Jul 2018 17:25:51 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 81387 invoked by uid 89); 20 Jul 2018 17:25:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*c:alternative, HTo:U*crossgcc, H*Ad:U*crossgcc X-HELO: mail-wm0-f41.google.com Received: from mail-wm0-f41.google.com (HELO mail-wm0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Jul 2018 17:25:49 +0000 Received: by mail-wm0-f41.google.com with SMTP id h3-v6so9722967wmb.1 for ; Fri, 20 Jul 2018 10:25:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=fiGKI1A7CnqxgXja0/Mha0KTSRtXJFQw2+TpqKK1TOA=; b=HULG2VxucN9wfIu0qcCJpCpCMagQ99HCJzM31oaD69MngBNcLCEzRniM/eInuRm0H5 P+HkOLCSP+EHiptoZdN0OXxqqIL3P1ZnR9tlXBlv6gN1EYyJPvNRz+5Cn3BEkyx5AzY1 DrwBt+Wd+NbKA/rCz4yVt866veoCC09wGQjiNLV+I6689yJ655i06E5lIN0nk7rjEqyh qkDrcqjstglDnPXNbz7OBFOBiy64/MWtB+C7RibLaO51ezFyT30RU/kAz7tOZa/L216u y48PAIR7L+y3dZqd0+IY9Z/EWG5BVrTyL9i1lybYG1aXk2Qg+DWe9NQXkGG2vxbZVQl9 LEXA== MIME-Version: 1.0 From: Baoshan Pang Date: Fri, 20 Jul 2018 17:25:00 -0000 Message-ID: Subject: soft float on powerpc 64 To: crossgcc@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-07/txt/msg00001.txt.bz2 Hi all, Can we build the GNU toolchain for powerpc 64 bit with soft float support? I am seeing the undefined symbol issue when trying to link a file compiled with -msoft-flot: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(vfprintf.o) uses hard float, a.out uses soft float /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(printf_fp.o) uses hard float, a.out uses soft float /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(printf_fphex.o) uses hard float, a.out uses soft float /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(vfwprintf.o) uses hard float, a.out uses soft float /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(dbl2mpn.o) uses hard float, a.out uses soft float /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(ldbl2mpn.o) uses hard float, a.out uses soft float /tmp/ccFUdCAw.o: In function `gt': x.c:(.text+0x30): undefined reference to `__addsf3' x.c:(.text+0x44): undefined reference to `__addsf3' x.c:(.text+0x60): undefined reference to `__addsf3' x.c:(.text+0x74): undefined reference to `__addsf3' x.c:(.text+0x8c): undefined reference to `__gtsf2' collect2: error: ld returned 1 exit status Thanks, Baoshan