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: Matjaz Breskvar<phoenix@o...>
    Date: Sat Feb 19 01:46:57 CET 2005
    Subject: [openrisc] gcc-3.4.2 uncompileable on x86_64 linux
    Top
    Hi,

    i currently don't have access to x86_64 machine, so can you provide some
    more information please.

    the complete genereted *.s file would be nice... what i'm looking for is
    a pattern where the problem happens....

    best regards,
    p.

    * Balint Cristian (rezso@r...) wrote:
    > 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.
    >
    > _______________________________________________
    > http://www.opencores.org/mailman/listinfo/openrisc

    ReferenceAuthor
    [openrisc] gcc-3.4.2 uncompileable on x86_64 linuxBalint Cristian

    Follow upAuthor
    [openrisc] x86_64 linux [more]Balint Cristian

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