Hi Tom,

I followed your instructions but they didn't help.

My Linux distribution is - Fedora Core 3
I am using "ld" version 2.15.92.0.2 20040927

I am attaching the output of my last compilation (after all the changes)

Another question I have:
>From the last message in this thread I understand that I should build
flexus on the same environment I want to run in simics simulation, is
that right?

Thanks,
Shachar Gang



-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMPFlex_make.out
Type: application/octet-stream
Size: 328986 bytes
Desc: not available
Url : 
http://sos.ece.cmu.edu/pipermail/simflex/attachments/20050716/359eb625/CMPFlex_make-0001.obj
From twenisch at ece.cmu.edu  Sat Jul 16 20:06:32 2005
From: twenisch at ece.cmu.edu (Thomas Wenisch)
List-Post: [email protected]
Date: Sat Jul 16 20:06:07 2005
Subject: [Simflex] make CMPFlex fails
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <pine.lnx.4.53l-ece.cmu.edu.0507161932520.6...@dalmore.ece.cmu.edu>

Hello Shachar,

I investigated this issue further on the web.

The large number of "defined in discarded section" warnings seem to be
because of a bug in GCC 3.4.x when used with newer versions of GNU
binutils.  The systems we test Flexus on use ld version 2.12.90.0.15,
which is two years older than the ld version in Fedora Core 3.  I
installed the exact version of binutils you are using on one of our
systems, and was able to produce the same warning messages.  The warnings
can be ignored - the library I built with this linker worked despite the
warnings.  I am not sure if upgrading binutils or gcc will eliminate the
warnings (downgrading to an older binutils would eliminate them).  I
couldn't find any way to shut the warning message off.

The errors you are getting with the unresolved symbols (.e.g.,
__init_array_start) are because of some library incompatibility issue
between GCC 3.4.4 as it was built on your system, and GLIBC 2.3.x.  We
have only tested Flexus with GLIBC 2.2.5. (Fedora Core 3 probably uses
GLIBC 2.3.1 or higher - you can find out with "rpm -q glibc"). I don't
know what the root cause of the library incompatability is.  The best
reference I could find on the web for people seeing similar problems is
here: http://tinyurl.com/bmtxu .  They suggest installing the development
package for GLIBC 2.2.5 on your system (glibc-devel-2.2.5).
Unfortunately, I am unfamiliar with Fedora Core so I can't tell you
exactly which package to download or give you instructions on how to
install the package.

If you can't install glibc-devel-2.2.5, I suggest you try to find an older
Linux box that has GLIBC 2.2.x on it.  You can check machines with rpm -q
glibc.  We have built Flexus sucessfully on SuSE Linux 8.1, but haven't
tested other distributions.

You could also try building with GCC 4.0.1, but I have never
tested this and don't know if Flexus will build with it.

Hope that helps,
-Tom Wenisch
Computer Architecture Lab
Carnegie Mellon University

On Sat, 16 Jul 2005, Shachar Gang wrote:

> Hi Tom,
>
> I followed your instructions but they didn't help.
>
> My Linux distribution is - Fedora Core 3
> I am using "ld" version 2.15.92.0.2 20040927
>
> I am attaching the output of my last compilation (after all the changes)
>
> Another question I have:
> >From the last message in this thread I understand that I should build
> flexus on the same environment I want to run in simics simulation, is
> that right?
>
> Thanks,
> Shachar Gang
>
>
>
>
From jangwook at ece.cmu.edu  Mon Jul 18 17:03:55 2005
From: jangwook at ece.cmu.edu (Jangwoo Kim)
List-Post: [email protected]
Date: Mon Jul 18 17:04:08 2005
Subject: [Simflex] short question
In-Reply-To: <pine.lnx.4.53l-ece.cmu.edu.0507161932520.6...@dalmore.ece.cmu.edu>
References: <[email protected]>
        <pine.lnx.4.53l-ece.cmu.edu.0507161932520.6...@dalmore.ece.cmu.edu>
Message-ID: <[email protected]>


Tom,

I see you recently modified the line of /regress/job-specs/global/wd/ 
global-postload,simics from "scaffold.add-debug-cfg" to  
"scaffold.debug-add-cfg"  This causes an error with my old binary.   
Did you change it intentionally?  If so, how can I modify my  
simulator to accept it?

Thanks,

  Jangwoo

Reply via email to