This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PMC-Sierra's Little Tiger board ships with crosstool!


http://www.pmc-sierra.com/xiaohu/ has a Reference Software
download that includes patched kernel source and a copy
of crosstool!

Their build.tools script makes a few mods to crosstool,
in particular, they mentions something about GOT overflow:

  # Set the target name to mipsel-linux
  # Building large binaries fails with 'relocation truncated to fit: R_MIPS_GOT16'.
  # We need to prepare builds to use the -xgot assembler flag, so we add -Wa,-xgot
  [ -f ${ARCH}.dat.orig ] || mv ${ARCH}.dat ${ARCH}.dat.orig
  sed -e "/^TARGET=/s,TARGET=${ARCH}-unknown-linux-gnu,TARGET=${TARGET},g" \
      -e "/^TARGET_CFLAGS=/s,TARGET_CFLAGS=\",TARGET_CFLAGS=\"-Wa\,-xgot ,g" \
      <${ARCH}.dat.orig >${ARCH}.dat

(Hmm.  I'm not sure that will have any effect, unless they were dying
with that error while building glibc...)

Another message that mentions this GOT overflow problem is
http://www.spinics.net/lists/mips/msg16790.html

I haven't run into this problem myself, but maybe I will before long.
- Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]