Comment 8 for bug 1343945

Revision history for this message
Paul Gevers (paul-climbing) wrote : Fwd: [Bug 1343945] Re: Sync gnustep-base 1.24.6-2 (universe) from Debian unstable (main)

Forwarded for the bug tracker.

-------- Original Message --------
Subject: Re: Fwd: [Bug 1343945] Re: Sync gnustep-base 1.24.6-2
(universe) from Debian unstable (main)
Date: Wed, 23 Jul 2014 10:34:12 +0300
From: Yavor Doganov <email address hidden>
To: Bug 1343945 <email address hidden>

Yavor Doganov wrote:
> | /usr/lib/gcc/powerpc-linux-gnu/4.8/libobjc.so: undefined reference to
> | `rs6000_special_adjust_field_align_p'
>
> It's very difficult for me to judge about the implications; perhaps
> the patch is incomplete as linking fails.

Looking at the gcc-4.8 build log, there are warnings when building
libobjc:

/«PKGBUILDDIR»/src/libobjc/encoding.c: In function
'objc_layout_structure_next_member':
/«PKGBUILDDIR»/src/libobjc/encoding.c:1163:3: warning: implicit
declaration of function 'rs6000_special_adjust_field_align_p'
[-Wimplicit-function-declaration]
   desired_align = ADJUST_FIELD_ALIGN (type, desired_align);
   ^

It seems that an #include is missing as the function prototype is not
available. So my conclusion that the patch is incomplete seems to be
correct. Anything that links with libobjc on powerpc will fail.