Launchpad has imported 9 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61920.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-07-26T11:39:27+00:00 Doko-v wrote:

this is caused by:

2014-07-24  Ulrich Weigand  <[email protected]>

        * config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
        Add prototype.
        * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
        function.  Issue -Wpsabi warning if future GCC releases will use
        different field alignment rules for this type.
        * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
        * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
        * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.

linking libobjc shows:

/«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);
   ^

and later the packaging tools warn about:

dpkg-shlibdeps: warning: symbol rs6000_special_adjust_field_align_p used
by debian/libobjc4/usr/lib/powerpc-linux-gnu/libobjc.so.4.0.0 found in
none of the libraries

resulting in build failures for any binary linking with -lobjc.

libobjc/encoding.c has a comment saying that it has no business
including tm.h, but up to now it did work.

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/9

------------------------------------------------------------------------
On 2014-07-26T11:52:17+00:00 Doko-v wrote:

PR24775 is about libobjc not including GCC's target headers

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/10

------------------------------------------------------------------------
On 2014-07-27T13:15:54+00:00 Doko-v wrote:

Author: doko
Date: Sun Jul 27 13:15:17 2014
New Revision: 213097

URL: https://gcc.gnu.org/viewcvs?rev=213097&root=gcc&view=rev
Log:
2014-07-27  Alan Modra  <[email protected]>
            Matthias Klose  <[email protected]>

        PR libobjc/61920

        * encoding.c: Define rs6000_special_adjust_field_align_p.

Modified:
    trunk/libobjc/ChangeLog
    trunk/libobjc/encoding.c

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/11

------------------------------------------------------------------------
On 2014-07-27T13:18:50+00:00 Doko-v wrote:

Author: doko
Date: Sun Jul 27 13:18:15 2014
New Revision: 213099

URL: https://gcc.gnu.org/viewcvs?rev=213099&root=gcc&view=rev
Log:
2014-07-27  Alan Modra  <[email protected]>
            Matthias Klose  <[email protected]>

        PR libobjc/61920

        * encoding.c: Define rs6000_special_adjust_field_align_p.

Modified:
    branches/gcc-4_9-branch/libobjc/ChangeLog
    branches/gcc-4_9-branch/libobjc/encoding.c

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/12

------------------------------------------------------------------------
On 2014-07-27T13:19:53+00:00 Doko-v wrote:

Author: doko
Date: Sun Jul 27 13:19:21 2014
New Revision: 213100

URL: https://gcc.gnu.org/viewcvs?rev=213100&root=gcc&view=rev
Log:
2014-07-27  Alan Modra  <[email protected]>
            Matthias Klose  <[email protected]>

        PR libobjc/61920

        * encoding.c: Define rs6000_special_adjust_field_align_p.

Modified:
    branches/gcc-4_8-branch/libobjc/ChangeLog
    branches/gcc-4_8-branch/libobjc/encoding.c

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/13

------------------------------------------------------------------------
On 2014-07-28T08:24:51+00:00 Rguenth wrote:

Fixed.

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/15

------------------------------------------------------------------------
On 2014-07-28T11:38:35+00:00 Uweigand-gcc wrote:

Since we didn't backport the actual ABI change to the branches, only the
warning, I think it would be consistent to use something like this on
the branches:

#define rs6000_special_adjust_field_align_p(FIELD, COMPUTED) \
  (TARGET_ALTIVEC && TREE_CODE (TREE_TYPE (FIELD)) == VECTOR_TYPE)

rather than the #define ... 0 that is appropriate for mainline.

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/16

------------------------------------------------------------------------
On 2014-07-28T14:32:45+00:00 Uweigand-gcc wrote:

Author: uweigand
Date: Mon Jul 28 14:32:13 2014
New Revision: 213127

URL: https://gcc.gnu.org/viewcvs?rev=213127&root=gcc&view=rev
Log:
        PR libobjc/61920
        * encoding.c (rs6000_special_adjust_field_align_p): Use definition
        that matches the 4.9 branch ABI.

Modified:
    branches/gcc-4_9-branch/libobjc/ChangeLog
    branches/gcc-4_9-branch/libobjc/encoding.c

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/17

------------------------------------------------------------------------
On 2014-07-28T14:33:52+00:00 Uweigand-gcc wrote:

Author: uweigand
Date: Mon Jul 28 14:33:20 2014
New Revision: 213128

URL: https://gcc.gnu.org/viewcvs?rev=213128&root=gcc&view=rev
Log:
        PR libobjc/61920
        * encoding.c (rs6000_special_adjust_field_align_p): Use definition
        that matches the 4.8 branch ABI.

Modified:
    branches/gcc-4_8-branch/libobjc/ChangeLog
    branches/gcc-4_8-branch/libobjc/encoding.c

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnustep-
base/+bug/1277975/comments/18


** Changed in: gcc
       Status: Unknown => Fix Released

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1277975

Title:
  gnustep-base: FTBFS: Build fails with several test failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1277975/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to