LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Balint Cristian<rezso@r...>
    Date: Sun Feb 13 22:44:03 CET 2005
    Subject: [openrisc] gcc-3.4.2 uncompileable on x86_64 linux
    Top
    Hi !

    Trying compile gcc-3.4.2 or32 CVS on fedora-FC4devel on x86_64 due to an
    strange [probably 64bit errors], if anyone have an idea where to fix this ?
    The same thing on i386 compile and work fine.
    I am planning to pack these sources in rpm form but seems that uncompilable on
    x86_64 and probably other 64 bit arches [i can try alpha too]


    ---------------------------------->>>>>>>>>>>>>>>>
    /usr/src/redhat/BUILD/gcc-3.4.2/obj-or32-redhat-linux/gcc/xgcc
    -B/usr/src/redhat/BUILD/gcc-3.4.2/obj-or32-redhat-linux/gcc/
    -B/usr/or32-uclinux/bin/ -B/usr/or32-uclinux/lib/
    -isystem /usr/or32-uclinux/include -isystem /usr/or32-uclinux/sys-include -O2
    -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
    -Wmissing-prototypes -Wold-style-definition -isystem ./include
    -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc
    -I../../gcc/. -I../../gcc/../include -c fp-bit.c -o libgcc/./fp-bit.o
    /usr/src/redhat/BUILD/gcc-3.4.2/obj-or32-redhat-linux/gcc/xgcc
    -B/usr/src/redhat/BUILD/gcc-3.4.2/obj-or32-redhat-linux/gcc/
    -B/usr/or32-uclinux/bin/ -B/usr/or32-uclinux/lib/
    -isystem /usr/or32-uclinux/include -isystem /usr/or32-uclinux/sys-include -O2
    -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
    -Wmissing-prototypes -Wold-style-definition -isystem ./include
    -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc
    -I../../gcc/. -I../../gcc/../include -c dp-bit.c -o libgcc/./dp-bit.o
    /tmp/cc35XUAF.s: Assembler messages:
    /tmp/cc35XUAF.s:1333: Error: bignum invalid
    /tmp/cc35XUAF.s:1334: Error: bignum invalid
    make[2]: *** [libgcc/./dp-bit.o] Error 1
    make[2]: Leaving directory
    `/usr/src/redhat/BUILD/gcc-3.4.2/obj-or32-redhat-linux/gcc'
    make[1]: *** [libgcc.a] Error 2
    make[1]: Leaving directory
    `/usr/src/redhat/BUILD/gcc-3.4.2/obj-or32-redhat-linux/gcc'
    make: *** [all-gcc] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.70852 (%build)
    --------------------------------------->>>>>>>>.
    The code pieces it emmits to the assambler was:

    .L317:
    l.or r17, r0, r0
    l.movhi r18, hi(1152921504606846976)
    l.ori r18, r18, lo(1152921504606846976)
    l.or r21, r0, r0
    l.movhi r22, hi(0)
    l.ori r22, r22, lo(0)

    There it looks like a huge number.

    Follow upAuthor
    [openrisc] gcc-3.4.2 uncompileable on x86_64 linuxMatjaz Breskvar

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.