{"action":"created","issue":{"url":"https://api.github.com/repos/openssl/openssl/issues/6856","repository_url":"https://api.github.com/repos/openssl/openssl","labels_url":"https://api.github.com/repos/openssl/openssl/issues/6856/labels{/name}","comments_url":"https://api.github.com/repos/openssl/openssl/issues/6856/comments","events_url":"https://api.github.com/repos/openssl/openssl/issues/6856/events","html_url":"https://github.com/openssl/openssl/issues/6856","id":347593221,"node_id":"MDU6SXNzdWUzNDc1OTMyMjE=","number":6856,"title":"OpenSSL 1.1.0 g compilation issue for ARM in VS2017","user":{"login":"ghanashyams","id":26676480,"node_id":"MDQ6VXNlcjI2Njc2NDgw","avatar_url":"https://avatars3.githubusercontent.com/u/26676480?v=4","gravatar_id":"","url":"https://api.github.com/users/ghanashyams","html_url":"https://github.com/ghanashyams","followers_url":"https://api.github.com/users/ghanashyams/followers","following_url":"https://api.github.com/users/ghanashyams/following{/other_user}","gists_url":"https://api.github.com/users/ghanashyams/gists{/gist_id}","starred_url":"https://api.github.com/users/ghanashyams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghanashyams/subscriptions","organizations_url":"https://api.github.com/users/ghanashyams/orgs","repos_url":"https://api.github.com/users/ghanashyams/repos","events_url":"https://api.github.com/users/ghanashyams/events{/privacy}","received_events_url":"https://api.github.com/users/ghanashyams/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-04T06:33:27Z","updated_at":"2018-08-05T04:44:22Z","closed_at":"2018-08-04T09:01:54Z","author_association":"NONE","body":"I am trying to compile OpenSSL 1.1.0g in windows using VS2017. Provided following to perl commands\r\nperl Configure VC-WIN64A --prefix=C:\\tools\\openssl no-shared no-dso no-engine no-asm\r\n\r\nThe above command errors out saying following:\r\n #error:  Compiling Desktop applications for the ARM platform is not supported.\r\n\r\nAfter googling about this topic I provided following command  to perl\r\nperl Configure VC-WIN32 --prefix=C:\\tools\\openssl no-shared no-dso no-engine no-asm  -D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE\r\n\r\nIt compiles successfully, but while linking the lib with target application I get following error:\r\nmodule machine type 'x64' conflicts with target machine type 'ARM64'\r\n\r\nWhat is the correct perl command to compile Openssl in windows for ARM using VS2017\r\n\r\nAn early response is appreciated.\r\n\r\nThanks\r\n\r\nGhanashyam"},"comment":{"url":"https://api.github.com/repos/openssl/openssl/issues/comments/410495506","html_url":"https://github.com/openssl/openssl/issues/6856#issuecomment-410495506","issue_url":"https://api.github.com/repos/openssl/openssl/issues/6856","id":410495506,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ5NTUwNg==","user":{"login":"ghanashyams","id":26676480,"node_id":"MDQ6VXNlcjI2Njc2NDgw","avatar_url":"https://avatars3.githubusercontent.com/u/26676480?v=4","gravatar_id":"","url":"https://api.github.com/users/ghanashyams","html_url":"https://github.com/ghanashyams","followers_url":"https://api.github.com/users/ghanashyams/followers","following_url":"https://api.github.com/users/ghanashyams/following{/other_user}","gists_url":"https://api.github.com/users/ghanashyams/gists{/gist_id}","starred_url":"https://api.github.com/users/ghanashyams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghanashyams/subscriptions","organizations_url":"https://api.github.com/users/ghanashyams/orgs","repos_url":"https://api.github.com/users/ghanashyams/repos","events_url":"https://api.github.com/users/ghanashyams/events{/privacy}","received_events_url":"https://api.github.com/users/ghanashyams/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T04:44:22Z","updated_at":"2018-08-05T04:44:22Z","author_association":"NONE","body":"It seems to be a bug in Openssl for ARM compilation. Though target is defined as below in  Configurations/50-win-onecore.conf for VC-WIN64-ARM , it compiles to target: 1C4 machine (ARM)\r\n\r\n\"VC-WIN64-ARM\" => {\r\n        inherit_from    => [ \"VC-noCE-common\" ],\r\n        defines         => add(\"_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE\",\r\n                               \"OPENSSL_SYS_WIN_CORE\"),\r\n        bn_ops          => \"SIXTY_FOUR_BIT RC4_CHAR EXPORT_VAR_AS_FN\",\r\n        lflags          => add(\"/NODEFAULTLIB:kernel32.lib\"),\r\n        ex_libs         => \"onecore.lib\",\r\n        multilib        => \"-arm64\",\r\n    },"}}
{"actor":{"display_login":"ghanashyams"}}