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]

making progress with building SH3 toolchain


  with a CVS-based glibc-20050402, i'm getting a familiar "-lgcc_eh"
error whose patch history in patching Makeconfig is:

 * it's patched in glibc-2.3.3
 * it's not patched in glibc-2.3.4
 * it's patched in glibc-20040827

and now, it appears that it needs patching again in glibc-20050402,
but the older patch doesn't apply cleanly.  here's the salient excerpt
from Makeconfig in that CVS glibc, which has a different structure
from that file in glibc-20040827:

...
ifndef gnulib
ifneq ($(have-cc-with-libunwind),yes)
  libunwind =
else
  libunwind = -lunwind
endif
ifneq ($(have-as-needed),yes)
 libgcc_eh := -lgcc_eh $(libunwind)
else
 libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) $(libunwind)
-Wl,--no-as-needed
endif
gnulib := -lgcc $(libgcc_eh)                        ???
static-gnulib := -lgcc -lgcc_eh $(libunwind)        ???
libc.so-gnulib := -lgcc
endif
...


  my initial reaction is to just remove the "gcc_eh" references from
the questionable lines and try again, but there's also that "gcc_eh"
reference further up as well.  thoughts?

rday

------
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]