Bug#787509: gdk-pixbuf: insufficient alignment of pixdata causes FTBFS on arm64

Emilio Pozuelo Monfort pochu at debian.org
Wed Jun 3 09:11:59 UTC 2015


On 02/06/15 13:19, Edmund Grimley Evans wrote:
> 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?

Looks like the netsurf problem was in netsurf itself:

https://packages.qa.debian.org/n/netsurf/news/20150602T232232Z.html

Are you sure this is still a problem in gdk-pixbuf?

Cheers,
Emilio



More information about the pkg-gnome-maintainers mailing list