------- Comment #4 from burgess at greeneridge dot com 2010-08-14 18:36 ------- I just encountered the identical error (same library, same line number, same message) while compiling arm-elf-gcc 4.5.1 under Mac OS X Snow Leopard 10.6.4.
I am not a expert at compiling gnu tools and am running scripts obtained elsewhere. However I did change two things and then reattempted the compile -- and the entire build process completed normally! The two things I did were: (1) update my Darwin gcc compiler executable with the recent XCode update released in August 2010. However the update did not change the Darwin gcc version substantially (it is now 4.2.1) and I don't think it made the difference. (2) the build script I use compiles arm-elf-gcc twice, once before and then again after compiling newlib. It was during the second gcc compile that the error occurred. However I had not completely cleaned my build environment since the last build many months ago and the script was skipping the recompile of newlib. After I thoroughly cleaned my build environment, the script then rebuilt newlib as intended before going on to compile arm-elf-gcc the second time -- now successfully. I regret my experience with compiling gnu tools is too sparse to understand what happened or even to know what information you all need to understand. But hopefully this at least sheds some light on the issue. -- burgess at greeneridge dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burgess at greeneridge dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45084