Re: Undefined Local Symbol on PowerPC

2015-04-16 Thread Joel Sherrill
On 4/15/2015 10:38 PM, Alan Modra wrote: > On Wed, Apr 15, 2015 at 04:10:33PM -0500, Joel Sherrill wrote: >> Based on the grep, the .4byte directives are referencing a bogus symbol. >> >> Does this look like a GCC bug? > Yes, unless you have some horrible asm there referencing the symbol. > Nope.

Re: Undefined Local Symbol on PowerPC

2015-04-15 Thread Alan Modra
On Wed, Apr 15, 2015 at 04:10:33PM -0500, Joel Sherrill wrote: > Based on the grep, the .4byte directives are referencing a bogus symbol. > > Does this look like a GCC bug? Yes, unless you have some horrible asm there referencing the symbol. -- Alan Modra Australia Development Lab, IBM

Undefined Local Symbol on PowerPC

2015-04-15 Thread Joel Sherrill
Hi I think this is a bug in GCC 5 on the PowerPC. The code has compiled and linked fine for years with various versions of GCC and friends. powerpc-rtems4.11-gcc (GCC) 5.0.0 20150412 (experimental) bootloader.o:(.debug_loc+0x3ce2): undefined reference to `.LCL2' This looks like a symbol genera