{"action":"created","issue":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/975","repository_url":"https://api.github.com/repos/jcupitt/libvips","labels_url":"https://api.github.com/repos/jcupitt/libvips/issues/975/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/libvips/issues/975/comments","events_url":"https://api.github.com/repos/jcupitt/libvips/issues/975/events","html_url":"https://github.com/jcupitt/libvips/issues/975","id":322771284,"number":975,"title":"Compile time error on v8.6.3","user":{"login":"cloudmeteor","id":16056543,"avatar_url":"https://avatars1.githubusercontent.com/u/16056543?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudmeteor","html_url":"https://github.com/cloudmeteor","followers_url":"https://api.github.com/users/cloudmeteor/followers","following_url":"https://api.github.com/users/cloudmeteor/following{/other_user}","gists_url":"https://api.github.com/users/cloudmeteor/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudmeteor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudmeteor/subscriptions","organizations_url":"https://api.github.com/users/cloudmeteor/orgs","repos_url":"https://api.github.com/users/cloudmeteor/repos","events_url":"https://api.github.com/users/cloudmeteor/events{/privacy}","received_events_url":"https://api.github.com/users/cloudmeteor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-14T11:10:45Z","updated_at":"2018-05-14T11:39:14Z","closed_at":null,"author_association":"NONE","body":"Getting error while compiling v8.6.3 on ec2. \r\n[ccRsfEVt.log](https://github.com/jcupitt/libvips/files/2000398/ccRsfEVt.log)\r\n\r\n```\r\n/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../libvips/include -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/pango-1.0 -I/usr/local/include/orc-0.4 -I/usr/local/include/libxml2 -I/usr/local/include/librsvg-2.0 -I/usr/local/include/libpng16 -I/usr/local/include/libgsf-1 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/freetype2 -I/usr/local/include/cairo -I/usr/local/include/ImageMagick-7 -I/usr/local/include -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cfitsio -I/usr/include/OpenEXR -D_REENTRANT -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=1    -I/opt/mozjpeg/include   -g -O2 -MT composite.lo -MD -MP -MF $depbase.Tpo -c -o composite.lo composite.cpp &&\\\r\nmv -f $depbase.Tpo $depbase.Plo\r\nlibtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libvips/include -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/pango-1.0 -I/usr/local/include/orc-0.4 -I/usr/local/include/libxml2 -I/usr/local/include/librsvg-2.0 -I/usr/local/include/libpng16 -I/usr/local/include/libgsf-1 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/freetype2 -I/usr/local/include/cairo -I/usr/local/include/ImageMagick-7 -I/usr/local/include -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cfitsio -I/usr/include/OpenEXR -D_REENTRANT -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=1 -I/opt/mozjpeg/include -g -O2 -MT composite.lo -MD -MP -MF .deps/composite.Tpo -c composite.cpp  -fPIC -DPIC -o .libs/composite.o\r\ncomposite.cpp: In function ‘void vips_composite_base_blend3(VipsCompositeBase*, VipsBlendMode, v4f&, T*)’:\r\ncomposite.cpp:745:25: error: conversion of scalar ‘int’ to vector ‘v4f {aka __vector(4) float}’ involves truncation\r\n    f = g > 0 ? g : -1 * g;\r\n                         ^\r\ncomposite.cpp:895: confused by earlier errors, bailing out\r\nPreprocessed source stored into /tmp/ccRsfEVt.out file, please attach this to your bugreport.\r\nmake: *** [composite.lo] Error 1\r\n```\r\n\r\n\r\nBuild options:\r\n\r\n```\r\n* build options\r\nnative win32:\t\t\t\tno\r\nnative OS X:\t\t\t\tno\r\nopen files in binary mode: \t\tno\r\nenable debug:\t\t\t\tno\r\nbuild deprecated components:\t\tyes\r\nbuild docs with gtkdoc:\t\t\tno\r\ngobject introspection: \t\t\tno\r\nbuild vips7 Python binding:\t\tno (default)\r\ninstall vips8 Python overrides:\t\tno (default)\r\n  (requires pygobject-3.13.0 or later)\r\nbuild radiance support: \t\tyes\r\nbuild analyze support: \t\t\tyes\r\nbuild PPM support: \t\t\tyes\r\n\r\n* optional dependencies\r\nuse fftw3 for FFT: \t\t\tyes\r\nMagick package: \t\t\tMagickCore\r\nfile import with libMagick: \t\tyes (magick7)\r\naccelerate loops with orc: \t\tyes\r\n  (requires orc-0.4.11 or later)\r\nICC profile support with lcms: \t\tyes (lcms2)\r\nfile import with OpenEXR: \t\tyes\r\nfile import with OpenSlide:\t\tno\r\n  (requires openslide-3.3.0 or later)\r\nfile import with matio: \t\tyes\r\nPDF import with poppler-glib: \t\tyes\r\n  (requires poppler-glib 0.16.0 or later)\r\nSVG import with librsvg-2.0: \t\tyes\r\n  (requires librsvg-2.0 2.34.0 or later)\r\nzlib: \t\t\t\t\tyes\r\nfile import with cfitsio: \t\tyes\r\nfile import/export with libwebp:\tyes\r\n  (requires libwebp-0.1.3 or later)\r\nsupport webp metadata:\t\t\tyes\r\n  (requires libwebpmux-0.5 or later)\r\ntext rendering with pangoft2: \t\tyes\r\nfile import/export with libpng: \tyes (pkg-config libpng >= 1.2.9)\r\n  (requires libpng-1.2.9 or later)\r\nfile import/export with libtiff:\tyes (pkg-config libtiff-4)\r\nfile import/export with giflib:\t\tyes (found by search)\r\nfile import/export with libjpeg:\tyes (found by search)\r\nimage pyramid export:\t\t\tyes\r\n  (requires libgsf-1 1.14.26 or later)\r\nuse libexif to load/save JPEG metadata: yes\r\n```\r\n\r\nLet me know if more information is needed. \r\n"},"comment":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/comments/388787322","html_url":"https://github.com/jcupitt/libvips/issues/975#issuecomment-388787322","issue_url":"https://api.github.com/repos/jcupitt/libvips/issues/975","id":388787322,"user":{"login":"jcupitt","id":580843,"avatar_url":"https://avatars2.githubusercontent.com/u/580843?v=4","gravatar_id":"","url":"https://api.github.com/users/jcupitt","html_url":"https://github.com/jcupitt","followers_url":"https://api.github.com/users/jcupitt/followers","following_url":"https://api.github.com/users/jcupitt/following{/other_user}","gists_url":"https://api.github.com/users/jcupitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jcupitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcupitt/subscriptions","organizations_url":"https://api.github.com/users/jcupitt/orgs","repos_url":"https://api.github.com/users/jcupitt/repos","events_url":"https://api.github.com/users/jcupitt/events{/privacy}","received_events_url":"https://api.github.com/users/jcupitt/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T11:39:14Z","updated_at":"2018-05-14T11:39:14Z","author_association":"OWNER","body":"Actually exactly this case is checked by configure. Could you post your configure output? I have these lines:\r\n\r\n```\r\nchecking for gcc with working vector support... yes\r\nchecking for C++ vector shuffle... yes\r\nchecking for C++ vector arithmetic... yes\r\n```\r\n\r\nDo you have a `yes` for the vector arithmetic test?"}}
{"actor":{"display_login":"jcupitt"}}