public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Pinski <pinskia@gmail.com>
To: "gcc-bugzilla@gcc.gnu.org" <gcc-bugzilla@gcc.gnu.org>
Cc: "gcc-bugs@gcc.gnu.org" <gcc-bugs@gcc.gnu.org>
Subject: Re: [Bug target/44793]  New: Code generated references undefined symbol
Date: Fri, 02 Jul 2010 20:17:00 -0000	[thread overview]
Message-ID: <B31AB49D-E6E0-48B0-96D9-D4F462E5F57E@gmail.com> (raw)
In-Reply-To: <bug-44793-296@http.gcc.gnu.org/bugzilla/>

These functions are part of PowerPC abi. So they should be provided by  
either libgcc or the libc.

On Jul 2, 2010, at 1:12 PM, "joel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org 
 > wrote:

> This was spotted on powerpc-rtems but likely impacts more targets.   
> It is
> triggered by -Os. I will attach the preprocessed file.
>
> powerpc-rtems4.11-gcc (GCC) 4.5.0 20100414 (RTEMS
> gcc-4.5.0-10.fc12/newlib-1.18.0-10.fc12)
>
> $ powerpc-rtems4.11-gcc -mcpu=603e -Os -S j.c
> $ grep _rest j.s
>        b _restgpr_31_x
> $ powerpc-rtems4.11-gcc -mcpu=603e -O0 -S j.c
> $ grep _rest j.s
> $ powerpc-rtems4.11-gcc -mcpu=603e -O1 -S j.c
> $ grep _rest j.s
> $ powerpc-rtems4.11-gcc -mcpu=603e -O2 -S j.c
> $ grep _rest j.s
> $
>
>
> -- 
>           Summary: Code generated references undefined symbol
>           Product: gcc
>           Version: 4.5.0
>            Status: UNCONFIRMED
>          Severity: normal
>          Priority: P3
>         Component: target
>        AssignedTo: unassigned at gcc dot gnu dot org
>        ReportedBy: joel at gcc dot gnu dot org
>  GCC host triplet: powerpc-rtems4.11
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44793
>


  parent reply	other threads:[~2010-07-02 20:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 20:13 joel at gcc dot gnu dot org
2010-07-02 20:14 ` [Bug target/44793] " joel at gcc dot gnu dot org
2010-07-02 20:17 ` joel at gcc dot gnu dot org
2010-07-02 20:17 ` pinskia at gmail dot com
2010-07-02 20:17 ` Andrew Pinski [this message]
2010-07-02 20:31 ` joel at gcc dot gnu dot org
2010-07-05  1:19 ` [Bug target/44793] [4.5/4.6 Regression] libgcc does not include t-ppccomm on rtems pinskia at gcc dot gnu dot org
2010-07-05  3:31 ` corsepiu at gcc dot gnu dot org
2010-07-05  4:17 ` corsepiu at gcc dot gnu dot org
2010-07-22  8:54 ` rguenth at gcc dot gnu dot org
2010-07-31  9:35 ` rguenth at gcc dot gnu dot org
2010-08-08 20:31 ` joel at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B31AB49D-E6E0-48B0-96D9-D4F462E5F57E@gmail.com \
    --to=pinskia@gmail.com \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-bugzilla@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).