Bug#787509: gdk-pixbuf: insufficient alignment of pixdata causes FTBFS on arm64
Edmund Grimley Evans
edmund.grimley.evans at gmail.com
Tue Jun 2 11:19:19 UTC 2015
Source: gdk-pixbuf
Version: 2.31.4-2
Tags: patch
netsurf failed to build on arm64:
/«BUILDDIR»/netsurf-3.2+dfsg/netsurf/gtk/window.c:1057:(.text+0x2cc):
relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC against
symbol `menu_cursor_pixdata' defined in .rodata section in
build-Linux-gtk/build-Linux-gtk_menu_cursor.o
collect2: error: ld returned 1 exit status
See https://buildd.debian.org/status/package.php?p=netsurf&suite=sid
The root of the problem seems to be here:
https://sources.debian.net/src/gdk-pixbuf/2.31.4-2/gdk-pixbuf/gdk-pixdata.c/
In line 768 you need alignment 8 instead of 4.
(I don't know about line 764. You could change that as well, perhaps.)
However, is there a neater, more portable way of making this stuff work?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdk-pixbuf-2.31.4-2-pixdata-alignment.patch
Type: text/x-diff
Size: 652 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150602/7b444331/attachment.patch>
More information about the pkg-gnome-maintainers
mailing list