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.
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: gcc/powerpc- linux-gnu/ 4.8/libobjc. so: undefined reference to special_ adjust_ field_align_ p'
> | /usr/lib/
> | `rs6000_
>
> 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 structure_ next_member' : /src/libobjc/ encoding. c:1163: 3: warning: implicit special_ adjust_ field_align_ p' function- declaration]
'objc_layout_
/«PKGBUILDDIR»
declaration of function 'rs6000_
[-Wimplicit-
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.