Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 2 < 1 2
Topic Options
#346404 - 13/07/2011 15:50 Re: Cross-compile chain for OSX Intel [Re: Daria]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Yeah, I'm using:
http://empeg.dementia.org/distributions/armtools-darwin-intel.tar.gz

Which patch is the one that does that? I have:
Code:
gcc-configure.patch
gcc-nold.patch
gcc3-binutils.patch
glibc-man.patch
linux-Makefile.patch

grep dSYM *.patch yields nothing.
_________________________
- Tony C
my empeg stuff

Top
#346406 - 13/07/2011 16:01 Re: Cross-compile chain for OSX Intel [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
looks like i uploaded the wrong one? hang on.

Top
#346407 - 13/07/2011 16:05 Re: Cross-compile chain for OSX Intel [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
here's the corrected one. it will be on the website in a moment


Attachments
armtools-darwin-intel.tar.gz (186 downloads)
Description: updated arm darwin kit



Top
#346408 - 13/07/2011 16:19 Re: Cross-compile chain for OSX Intel [Re: Daria]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
That one seems to be humming along. Thanks.
_________________________
- Tony C
my empeg stuff

Top
#346418 - 13/07/2011 22:09 Re: Cross-compile chain for OSX Intel [Re: tonyc]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
since you ran into trouble with gettext, have a toolchain which can compile gettext, tho you need to make arm-linux-gettext before it does. no weird fstat error.


Attachments
armtools-darwin-intel.tar.gz (197 downloads)
Description: updated arm toolchain



Top
#355685 - 15/10/2012 17:42 Re: Cross-compile chain for OSX Intel [Re: Daria]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Many moons later, and with the latest and greatest Mac toolchain, I'm still ending up with several things that fail to build with the "undefined reference to fstat64" errors. Here's what it looks like when I try to build glib-2.34:

Code:
  CC       giounix.lo
  CC       gspawn.lo
  CCLD     libglib-2.0.la
  CC       gtester.o
  CCLD     gtester
./.libs/libglib-2.0.so: undefined reference to `fstat64'
./.libs/libglib-2.0.so: undefined reference to `stat64'
./.libs/libglib-2.0.so: undefined reference to `lstat64'
collect2: ld returned 1 exit status


Here's the arm-empeg-linux-nm output for libc.so:

Code:
arm-empeg-linux-nm /opt/arm/arm-empeg-linux/lib/libc.so.6|grep stat64         
0008a7f8 T __fxstat64
000e50bc b __have_no_stat64
0008a9dc T __lxstat64
0008a614 T __xstat64


And here's the same for libc_nonshared.a:

Code:
arm-empeg-linux-nm /opt/arm/arm-empeg-linux/lib/libc_nonshared.a | grep stat64
         U __fxstat64
         U __xstat64
xstat64.os:
00000004 C __have_no_stat64
00000000 T __xstat64
fxstat64.os:
00000000 T __fxstat64
         U __have_no_stat64
lxstat64.os:
         U __have_no_stat64
00000000 T __lxstat64
         U __lxstat64
         U __xstat64


Looks like the relevant symbols are indeed missing from libc. Any ideas what to try next?
_________________________
- Tony C
my empeg stuff

Top
Page 2 of 2 < 1 2