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: Enrico Weigelt<weigelt@m...>
    Date: Mon Apr 21 01:06:05 CEST 2008
    Subject: [openrisc] or32-binutils problem: Error: operation combines symbols in different segments
    Top

    Hi folks,

    while trying to compile ncurses with the or32 toolchain (drp patches),
    I've got an (assembler ?) problem:

    /opt/xcompiler/or32-one/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I/home/crosstool/.usr/jbriegel/var/src/or32-one//ncurses/ncurses-5.6/ncurses -I. -I../include -D_GNU_SOURCE -D_LARGE_FILES -I/home/crosstool/.usr/jbriegel/var/src/or32-one//ncurses/ncurses-5.6/ncurses/../include -D_GNU_SOURCE -D_LARGE_FILES -O2 -fPIC -c /home/crosstool/.usr/jbriegel/var/src/or32-one//ncurses/ncurses-5.6/ncurses/tty/lib_mvcur.c -o ../obj_s/lib_mvcur.o
    /tmp/cc2Ak2wU.s: Assembler messages:
    /tmp/cc2Ak2wU.s:1766: Error: operation combines symbols in different segments
    /tmp/cc2Ak2wU.s:1771: Error: operation combines symbols in different segments

    It seems to happen as soon as there are references to other objects,
    but I couldn't track how this really happens, neither reproduce it
    with own test programs.

    The fact that it doesn't happen with other toolchains, but rumors
    in the web that it also happened with certain specific other embedded
    target due some bug in binutils, leads me to the conclusion that
    someting's wrong with the or32-binutils.

    Does anyone have an idea where this might come from ?

    thx
    --
    ---------------------------------------------------------------------
    Enrico Weigelt == metux IT service - http://www.metux.de/
    ---------------------------------------------------------------------
    Please visit the OpenSource QM Taskforce:
    http://wiki.metux.de/public/OpenSource_QM_Taskforce
    Patches / Fixes for a lot dozens of packages in dozens of versions:
    http://patches.metux.de/
    ---------------------------------------------------------------------

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