{"action":"created","issue":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1516","repository_url":"https://api.github.com/repos/xianyi/OpenBLAS","labels_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1516/labels{/name}","comments_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1516/comments","events_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1516/events","html_url":"https://github.com/xianyi/OpenBLAS/issues/1516","id":313330957,"number":1516,"title":"[error] build for android","user":{"login":"NetoDevel","id":10883521,"avatar_url":"https://avatars0.githubusercontent.com/u/10883521?v=4","gravatar_id":"","url":"https://api.github.com/users/NetoDevel","html_url":"https://github.com/NetoDevel","followers_url":"https://api.github.com/users/NetoDevel/followers","following_url":"https://api.github.com/users/NetoDevel/following{/other_user}","gists_url":"https://api.github.com/users/NetoDevel/gists{/gist_id}","starred_url":"https://api.github.com/users/NetoDevel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetoDevel/subscriptions","organizations_url":"https://api.github.com/users/NetoDevel/orgs","repos_url":"https://api.github.com/users/NetoDevel/repos","events_url":"https://api.github.com/users/NetoDevel/events{/privacy}","received_events_url":"https://api.github.com/users/NetoDevel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-04-11T13:45:08Z","updated_at":"2018-04-11T15:50:13Z","closed_at":null,"author_association":"NONE","body":"**Exports**\r\n```\r\ndeclare -x ANDROID_HOME=\"/home/ericdiniz/Android/Sdk\"\r\ndeclare -x CLANG_FLAGS=\"-target arm-linux-androideabi -marm -mfpu=vfp -mfloat-abi=softfp --sysroot /platforms/android-23/arch-arm -gcc-toolchain /toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/\"\r\ndeclare -x CLUTTER_IM_MODULE=\"xim\"\r\ndeclare -x COLORTERM=\"truecolor\"\r\ndeclare -x DBUS_SESSION_BUS_ADDRESS=\"unix:path=/run/user/1001/bus\"\r\ndeclare -x DEFAULTS_PATH=\"/usr/share/gconf/ubuntu.default.path\"\r\ndeclare -x DERBY_HOME=\"/usr/lib/jvm/java-8-oracle/db\"\r\ndeclare -x DESKTOP_SESSION=\"ubuntu\"\r\ndeclare -x DISPLAY=\":1\"\r\ndeclare -x GDMSESSION=\"ubuntu\"\r\ndeclare -x GJS_DEBUG_OUTPUT=\"stderr\"\r\ndeclare -x GJS_DEBUG_TOPICS=\"JS ERROR;JS LOG\"\r\ndeclare -x GNOME_DESKTOP_SESSION_ID=\"this-is-deprecated\"\r\ndeclare -x GNOME_SHELL_SESSION_MODE=\"ubuntu\"\r\ndeclare -x GTK_IM_MODULE=\"ibus\"\r\ndeclare -x GTK_MODULES=\"gail:atk-bridge\"\r\ndeclare -x HOME=\"/home/ericdiniz\"\r\ndeclare -x IM_CONFIG_PHASE=\"2\"\r\ndeclare -x J2REDIR=\"/usr/lib/jvm/java-8-oracle/jre\"\r\ndeclare -x J2SDKDIR=\"/usr/lib/jvm/java-8-oracle\"\r\ndeclare -x JAVA_HOME=\"/usr/lib/jvm/java-8-oracle\"\r\ndeclare -x JOURNAL_STREAM=\"9:36151\"\r\ndeclare -x LANG=\"en_US.UTF-8\"\r\ndeclare -x LC_ADDRESS=\"pt_BR.UTF-8\"\r\ndeclare -x LC_CTYPE=\"pt_BR.UTF-8\"\r\ndeclare -x LC_IDENTIFICATION=\"pt_BR.UTF-8\"\r\ndeclare -x LC_MEASUREMENT=\"pt_BR.UTF-8\"\r\ndeclare -x LC_MONETARY=\"pt_BR.UTF-8\"\r\ndeclare -x LC_NAME=\"pt_BR.UTF-8\"\r\ndeclare -x LC_NUMERIC=\"pt_BR.UTF-8\"\r\ndeclare -x LC_PAPER=\"pt_BR.UTF-8\"\r\ndeclare -x LC_TELEPHONE=\"pt_BR.UTF-8\"\r\ndeclare -x LC_TIME=\"pt_BR.UTF-8\"\r\ndeclare -x LDFLAGS=\"-L/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x\"\r\ndeclare -x LESSCLOSE=\"/usr/bin/lesspipe %s %s\"\r\ndeclare -x LESSOPEN=\"| /usr/bin/lesspipe %s\"\r\ndeclare -x LIBVIRT_DEFAULT_URI=\"qemu:///system\"\r\ndeclare -x LOGNAME=\"ericdiniz\"\r\ndeclare -x LS_COLORS=\"rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:\"\r\ndeclare -x MANDATORY_PATH=\"/usr/share/gconf/ubuntu.mandatory.path\"\r\ndeclare -x NKD_BUNDLE_DIR=\"/home/ericdiniz/Android/Sdk/ndk-bundle\"\r\ndeclare -x NVM_BIN=\"/home/ericdiniz/.nvm/versions/node/v8.0.0/bin\"\r\ndeclare -x NVM_CD_FLAGS=\"\"\r\ndeclare -x NVM_DIR=\"/home/ericdiniz/.nvm\"\r\ndeclare -x OLDPWD=\"/home/ericdiniz/Desktop\"\r\ndeclare -x PATH=\"/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/toolchains/llvm/prebuilt/linux-x86_64/bin:/home/ericdiniz/.nvm/versions/node/v8.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin\"\r\ndeclare -x PWD=\"/home/ericdiniz/Desktop/OpenBLAS\"\r\ndeclare -x QT4_IM_MODULE=\"xim\"\r\ndeclare -x QT_ACCESSIBILITY=\"1\"\r\ndeclare -x QT_IM_MODULE=\"xim\"\r\ndeclare -x SESSION_MANAGER=\"local/safety-pc-dev:@/tmp/.ICE-unix/3120,unix/safety-pc-dev:/tmp/.ICE-unix/3120\"\r\ndeclare -x SHELL=\"/bin/bash\"\r\ndeclare -x SHLVL=\"1\"\r\ndeclare -x SSH_AGENT_PID=\"3192\"\r\ndeclare -x SSH_AUTH_SOCK=\"/run/user/1001/keyring/ssh\"\r\ndeclare -x TERM=\"xterm-256color\"\r\ndeclare -x TEXTDOMAIN=\"im-config\"\r\ndeclare -x TEXTDOMAINDIR=\"/usr/share/locale/\"\r\ndeclare -x USER=\"ericdiniz\"\r\ndeclare -x USERNAME=\"ericdiniz\"\r\ndeclare -x VTE_VERSION=\"4804\"\r\ndeclare -x WINDOWID=\"58720262\"\r\ndeclare -x WINDOWPATH=\"2\"\r\ndeclare -x XAUTHORITY=\"/run/user/1001/gdm/Xauthority\"\r\ndeclare -x XDG_CONFIG_DIRS=\"/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg\"\r\ndeclare -x XDG_CURRENT_DESKTOP=\"ubuntu:GNOME\"\r\ndeclare -x XDG_DATA_DIRS=\"/usr/share/ubuntu:/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop\"\r\ndeclare -x XDG_MENU_PREFIX=\"gnome-\"\r\ndeclare -x XDG_RUNTIME_DIR=\"/run/user/1001\"\r\ndeclare -x XDG_SEAT=\"seat0\"\r\ndeclare -x XDG_SESSION_DESKTOP=\"ubuntu\"\r\ndeclare -x XDG_SESSION_ID=\"4\"\r\ndeclare -x XDG_SESSION_TYPE=\"x11\"\r\ndeclare -x XDG_VTNR=\"2\"\r\ndeclare -x XMODIFIERS=\"@im=ibus\"\r\n\r\n```\r\n**Command:**\r\n`make TARGET=ARMV7 ONLY_CBLAS=1 AR=ar CC=\"clang ${CLANG_FLAGS}\" HOSTCC=gcc ARM_SOFTFP_ABI=1 -j4`\r\n\r\n**output:**\r\n```\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nMakefile:143: recipe for target '../libopenblas_armv7p-r0.3.0.dev.so' failed\r\nmake[1]: *** [../libopenblas_armv7p-r0.3.0.dev.so] Error 1\r\nmake[1]: Leaving directory '/home/ericdiniz/Desktop/OpenBLAS/exports'\r\nMakefile:90: recipe for target 'shared' failed\r\nmake: *** [shared] Error 2\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/comments/380501952","html_url":"https://github.com/xianyi/OpenBLAS/issues/1516#issuecomment-380501952","issue_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/1516","id":380501952,"user":{"login":"martin-frbg","id":6192365,"avatar_url":"https://avatars0.githubusercontent.com/u/6192365?v=4","gravatar_id":"","url":"https://api.github.com/users/martin-frbg","html_url":"https://github.com/martin-frbg","followers_url":"https://api.github.com/users/martin-frbg/followers","following_url":"https://api.github.com/users/martin-frbg/following{/other_user}","gists_url":"https://api.github.com/users/martin-frbg/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-frbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-frbg/subscriptions","organizations_url":"https://api.github.com/users/martin-frbg/orgs","repos_url":"https://api.github.com/users/martin-frbg/repos","events_url":"https://api.github.com/users/martin-frbg/events{/privacy}","received_events_url":"https://api.github.com/users/martin-frbg/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T15:50:13Z","updated_at":"2018-04-11T15:50:13Z","author_association":"COLLABORATOR","body":"Well, at least the error message has changed now... looks as if some files in the build were created by the wrong compiler or assembler (or with wrong compiler flags perhaps). Did you do  `make clean` between build attempts ?"}}
{"actor":{"display_login":"martin-frbg"}}