Bug 65

Summary: Hello World ARM build fails
Product: ELLCC Reporter: cnxsoft
Component: eccAssignee: Richard Pennington <rich>
Status: RESOLVED INVALID    
Severity: major    
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Linux   

Description cnxsoft 2012-07-15 23:11:00 CDT
I get the following output when building for ARM

./bin/ecc -target arm-ellcc-linux hello.c -o helloarm
/home/jaufranc/edev/playground/ellcc/./bin/ecc-ld: error: Source object /home/jaufranc/edev/playground/ellcc/bin/../libecc/lib/arm/linux/crtend.o has EABI version 0, but target helloarm has EABI version 5
/home/jaufranc/edev/playground/ellcc/./bin/ecc-ld: failed to merge target specific data of file /home/jaufranc/edev/playground/ellcc/bin/../libecc/lib/arm/linux/crtend.o
ecc: error: linker command failed with exit code 1 (use -v to see invocation)

x86, mips and ppc builds work fine.
Comment 1 Richard Pennington 2012-07-15 23:19:08 CDT
Hmm. Can't duplicate it here. does -target arm-ellcc-linux-eabi help? How close are you to TOT?
Comment 2 cnxsoft 2012-07-15 23:24:59 CDT
./bin/ecc -target arm-ellcc-linux-eabi hello.c -o helloarm
gives the same results.

When the build failed (Bug 64), I just ran svn update, then make (but not make clean), so it could be the issue. But re-building from scratch would take many hours on my machine, so I'd rather avoid that...

What does TOT mean?
Comment 3 Richard Pennington 2012-07-15 23:29:19 CDT
TOT is just the latest SVN stuff (Top Of Tree).

You can try a partial rebuild of just the arm libraries:
  cd libecc
  make arm

Sorry about the churn. The build stuff has been going to many recent changes.
Comment 4 Richard Pennington 2017-07-29 10:37:35 CDT
These bugs are obsolete with the new build and deployment process.
Comment 5 Richard Pennington 2017-07-29 10:42:12 CDT
These bugs are obsolete with the new build and deployment process.