Re: "No room for program headers" strikes again

2005-04-13 Thread Stelios Xanthakis
Temporarily I solved the problem by compiling some object files at -O1 or -Os. But this will explode again later. Now, maybe a linker script will be better than one more dependancy for the users. I'm just wondering why does it hit the ld limits. Where the limits low in that version or does the cod

Re: "No room for program headers" strikes again

2005-04-13 Thread Stelios Xanthakis
On Wed, 13 Apr 2005, Alan Modra wrote: No, not until you give a lot more detail. You failed to even specify the target you are using! Sorry. It's a suse 8.1 (quite old) with gcc 3.4-core compiled from source, at x86. ld --version gives 2.12.90.0.15 20020717 (SuSE) The code I'm trying to

"No room for program headers" strikes again

2005-04-12 Thread Stelios Xanthakis
Hello. All of a sudden, I add one more function to my program and I get a weird "No room for program headers (allocated 6 need 7)". After some googling, it seems that this error has appeared many times before and the usual advice is to modify the ld script. However, I have no special ld script. Ju