Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172877 - media-video/ffmpeg-0.4.9_p20070330 compiler fails on h264.c
Summary: media-video/ffmpeg-0.4.9_p20070330 compiler fails on h264.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-31 13:38 UTC by Marc Neuhaus
Modified: 2007-04-06 06:24 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete build log of problem on AMD64 (media-video:ffmpeg-0.4.9_p20070330:20070331-132409.log.gz,11.13 KB, text/plain)
2007-03-31 13:50 UTC, David Pyke
Details
build.log.bz2 ( x86) (build.log.bz2,7.03 KB, application/octet-stream)
2007-03-31 18:21 UTC, Philip Kovacs
Details
media-video/ffmpeg-0.4.9_p20070330 build.log (build.log,237.55 KB, text/plain)
2007-04-01 10:02 UTC, Xavier Parizet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Neuhaus 2007-03-31 13:38:33 UTC
In file included from h264.c:37:
cabac.h: In function 'decode_significance_x86':
cabac.h:686: warning: cast from pointer to integer of different size
cabac.h:687: warning: cast from pointer to integer of different size
cabac.h: In function 'decode_significance_8x8_x86':
cabac.h:735: warning: cast from pointer to integer of different size
h264.c: In function 'hl_decode_mb_internal':
h264.c:3538: warning: suggest parentheses around arithmetic in operand of ^
h264.c:3544: warning: suggest parentheses around arithmetic in operand of ^
h264.c: In function 'decode_mb_cavlc':
h264.c:5302: warning: unused variable 'ref_count'
h264.c: In function 'decode_cabac_residual':
h264.c:6115: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type
h264.c:6042: warning: unused variable 'last'
h264.c: In function 'filter_mb_fast':
h264.c:7067: warning: dereferencing type-punned pointer will break strict-aliasing rules
h264.c: In function 'decode_slice':
h264.c:7424: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
h264.c: At top level:
cabac.h:109: warning: 'put_cabac_static' defined but not used
cabac.h:155: warning: 'put_cabac_terminate' defined but not used
cabac.h:183: warning: 'put_cabac_u' defined but not used
cabac.h:218: warning: 'put_cabac_ueg' defined but not used
cabac.h:270: warning: 'refill2' defined but not used
cabac.h:808: warning: 'get_cabac_u' defined but not used
cabac.h:824: warning: 'get_cabac_ueg' defined but not used
{standard input}: Assembler messages:
{standard input}:33: Error: junk `(%rip)' after expression
{standard input}:46: Error: junk `(%rip)' after expression
{standard input}:48: Error: junk `(%rip)+128' after expression
{standard input}:63: Error: junk `(%rip)' after expression
{standard input}:94: Error: junk `(%rip)' after expression
{standard input}:107: Error: junk `(%rip)' after expression
{standard input}:109: Error: junk `(%rip)+128' after expression
{standard input}:124: Error: junk `(%rip)' after expression
{standard input}:6557: Error: junk `(%rip)' after expression
{standard input}:6570: Error: junk `(%rip)' after expression
{standard input}:6572: Error: junk `(%rip)+128' after expression
{standard input}:6587: Error: junk `(%rip)' after expression
{standard input}:6598: Error: junk `(%rip)' after expression
{standard input}:6611: Error: junk `(%rip)' after expression
{standard input}:6613: Error: junk `(%rip)+128' after expression
{standard input}:6628: Error: junk `(%rip)' after expression
{standard input}:6709: Error: junk `(%rip)' after expression
{standard input}:6722: Error: junk `(%rip)' after expression
{standard input}:6724: Error: junk `(%rip)+128' after expression
{standard input}:6739: Error: junk `(%rip)' after expression
{standard input}:6748: Error: junk `(%rip)' after expression
{standard input}:6753: Error: junk `(%rip)' after expression
{standard input}:6766: Error: junk `(%rip)' after expression
{standard input}:6768: Error: junk `(%rip)+128' after expression
{standard input}:6783: Error: junk `(%rip)' after expression
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory `/var/tmp/paludis/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec'
make: *** [lib] Error 2

!!! ERROR in media-video/ffmpeg-0.4.9_p20070330:
!!! In src_compile at line 3375
!!! make failed
Comment 1 Marc Neuhaus 2007-03-31 13:42:07 UTC
Portage 2.1.2.3 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 31 Mar 2007 08:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 arj bash-completion bdf berkdb bitmap-fonts branding cairo ccache cdaudio cdda cddb cdparanoia cdr cdrom cli cracklib crypt cups dbus doc dri dvd dvdr dvdread dvi eds emboss emoticon encode esd evo evolution excel exif fam fame ffmpeg firefox foomaticdb fortran gdbm gdm gedit gif gimp gimpprint glut gmedia gnome gnome-print gnuplot gnustep gnutls gocr gphoto2 gpm gs gstreamer gtk gtk2 gvim gzip hal httpd iconv imagemagick ipv6 isdnlog joystick jpeg jpeg2k key-screen keyring lame latex lha libg++ live lzo lzw mad midi mikmod mjpeg mng modplug mouse mozcalendar mozsvg mp3 mp3rtp mp4 mp4live mpeg mpeg2 musepack musicbrainz nas nautilus ncurses netbeans netjack netpbm network networking nfs nis nls nptl nptlonly nsplugin nvidia ogg on-the-fly-crypt opengl openssh oss pam pcre pda pdf perl plotutils png ppds pppd preview-latex print projectx python quicktime rar rdesktop readline realmedia reflection reiser4 reiserfs rtsp samba scanner sdl session sftp skins slang smp sndfile sound sox spell spl ssl stream svg symlink syslog tcpd tetex tga tgif themes theora thesaurus thumbnail thunderbird tiff totem transcode truetype truetype-fonts type1 type1-fonts unicode unzip upnp usb vcd vim vim-pager vim-syntax vim-with-x vlm vnc vorbis wma wmf wmp wxwindows xine xml xorg xscreensaver xv xvid xvnc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 David Pyke 2007-03-31 13:50:33 UTC
Created attachment 115042 [details]
Complete build log of problem on AMD64
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2007-03-31 14:48:25 UTC
Confirmed. Compile borks on h264.
Comment 4 Dan Armak 2007-03-31 18:02:05 UTC
Here too.
Comment 5 Philip Kovacs 2007-03-31 18:21:30 UTC
Created attachment 115067 [details]
build.log.bz2 ( x86)

x86 build.log
Comment 6 Xavier Parizet 2007-04-01 10:02:10 UTC
Created attachment 115137 [details]
media-video/ffmpeg-0.4.9_p20070330 build.log

Here too ffmpeg build fails...
emerge --info :
Portage 2.1.2.3 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r4 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 01 Apr 2007 09:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/marineam-xen /usr/portage/local/layman/aross /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 bcmath berkdb bitmap-fonts bzip2 cairo calendar cdr cli cracklib crypt ctype cups dbus doc dri dvd dvdr dvdread eds emboss encode esd fam ffmpeg filter firefox fortran ftp gd gdbm gif gpm gstreamer gtk2 hal iconv imap inifile ipv6 isdnlog java jpeg kde lame libg++ libwww mad maildir midi mikmod mp3 mpeg mplayer mpm-threadpool mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcntl pcre pdf perl png posix ppds pppd python qt3 qt4 quicktime readline reflection sasl sdl sensord session simplexml sockets spell spl sqlite ssl tcpd threads tidy truetype truetype-fonts type1-fonts unicode vda vorbis wifi xine xml xmlreader xmlrpc xmlwriter xorg xsl xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2007-04-01 10:58:49 UTC
fails here too:

Portage 2.1.2.3 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Sun, 01 Apr 2007 10:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en nl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/nouveau /home/marijn/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emacs emboss encode esd fam firefox fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde kdeenablefinal ldap libg++ lm_sensors mad midi mikmod mng mp3 mpeg ncurses nls nptl nptlonly nvidia offensive ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session smp spell spl ssl svg tcpd theora threads truetype truetype-fonts type1-fonts unicode vorbis xinerama xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Alexis Ballier gentoo-dev 2007-04-01 12:40:58 UTC
p.masked, no need to have this version spread over every user : 

# Alexis Ballier <aballier@gentoo.org> (1 Apr 2007)
# Broken with PIC on x86{,64}
=media-video/ffmpeg-0.4.9_p20070330
Comment 9 Alexis Ballier gentoo-dev 2007-04-05 19:31:39 UTC
I've disabled non pic safe asm and reverted the mask, this should be fine now.
Comment 10 Bugs Bunny 2007-04-06 03:10:44 UTC
(In reply to comment #9)
> I've disabled non pic safe asm and reverted the mask, this should be fine now.
> 

should be is a long way from fixed....

h264.c: In function 'decode_slice':
h264.c:7424: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
h264.c: At top level:
cabac.h:109: warning: 'put_cabac_static' defined but not used
cabac.h:155: warning: 'put_cabac_terminate' defined but not used
cabac.h:183: warning: 'put_cabac_u' defined but not used
cabac.h:218: warning: 'put_cabac_ueg' defined but not used
cabac.h:270: warning: 'refill2' defined but not used
cabac.h:808: warning: 'get_cabac_u' defined but not used
cabac.h:824: warning: 'get_cabac_ueg' defined but not used
{standard input}: Assembler messages:
{standard input}:31: Error: junk `(%rip)' after expression
{standard input}:44: Error: junk `(%rip)' after expression
{standard input}:46: Error: junk `(%rip)+128' after expression
{standard input}:61: Error: junk `(%rip)' after expression
{standard input}:89: Error: junk `(%rip)' after expression
{standard input}:102: Error: junk `(%rip)' after expression
{standard input}:104: Error: junk `(%rip)+128' after expression
{standard input}:119: Error: junk `(%rip)' after expression
{standard input}:6852: Error: junk `(%rip)' after expression
{standard input}:6865: Error: junk `(%rip)' after expression
{standard input}:6867: Error: junk `(%rip)+128' after expression
{standard input}:6882: Error: junk `(%rip)' after expression
{standard input}:6893: Error: junk `(%rip)' after expression
{standard input}:6906: Error: junk `(%rip)' after expression
{standard input}:6908: Error: junk `(%rip)+128' after expression
{standard input}:6923: Error: junk `(%rip)' after expression
{standard input}:7026: Error: junk `(%rip)' after expression
{standard input}:7039: Error: junk `(%rip)' after expression
{standard input}:7041: Error: junk `(%rip)+128' after expression
{standard input}:7056: Error: junk `(%rip)' after expression
{standard input}:7065: Error: junk `(%rip)' after expression
{standard input}:7070: Error: junk `(%rip)' after expression
{standard input}:7083: Error: junk `(%rip)' after expression
{standard input}:7085: Error: junk `(%rip)+128' after expression
{standard input}:7100: Error: junk `(%rip)' after expression
make[1]: *** [h264.o] Error 1


someone needs to reopen this bug and remask the damn package already.
Comment 11 Alexis Ballier gentoo-dev 2007-04-06 06:24:26 UTC
(In reply to comment #10)

> should be is a long way from fixed....

have you synced ? Does it apply the ffmpeg-0.4.9_p20070330-asmpic.patch ?

platform is amd64 I guess