Comments (6)
Are you using the latest dependencies (check with phpsdk_deps -c
)?
from php-sdk-binary-tools.
Configuration: master-vs16-x64-staging
No updates are available.
from php-sdk-binary-tools.
This is fixable by exporting environment variable set LDFLAGS="/d2:-AllowCompatibleILVersions"
before running configure
, it does not appear to be an issue with this repo, rather the version of the iconv lib supplied by https://windows.php.net/downloads/php-sdk/deps/vs16/x64/
from php-sdk-binary-tools.
I usually build ext/sqlite as shared extension, so I didn't notice this issue so far. But indeed, when building ext/sqlite as static extension, I'm hitting C1047 as well (VS 16.8.4, libiconv-1.16-3, sqlite3-3.33.0). That error has already been very annoying several times in the past, since it required to rebuilt several packages to be able to do the snapshot builds, and those rebuilt packages didn't work with older VS versions, what caused problems for others. So constantly rebuilding libiconv doesn't appear to be a good solution.
/d2:-AllowCompatibleILVersions
Thank you! I wasn't aware of this undocumented linker option. It might make sense to add it by default for the Windows builds to mitigate this issue. For now, I have at least documented it.
from php-sdk-binary-tools.
/cc @Jan-E, @weltling, may be interested in this info as well. According to https://developercommunity.visualstudio.com/content/problem/316532/c1047-after-update-from-157-to-158.html, it is safe to use it.
from php-sdk-binary-tools.
Thanks. I never ran into C1047 AFAIK, but I have added set LDFLAGS="/d2:-AllowCompatibleILVersions"
to my VS16 build environment.
Edit O, wait. This was the error we ran into when PHP 7.4 was compiled with VS16 in the beginning.
from php-sdk-binary-tools.
Related Issues (20)
- no genera librerias dll HOT 2
- Supporting multiple toolsets for a single VS installation HOT 3
- PGO CLI Training HOT 2
- Could not found vc15 folder. HOT 13
- It does not support gdb debug. HOT 2
- Could not determine 'vc15' directory HOT 14
- Bundle PHP 7.4 HOT 5
- Trying to Create My own Extension HOT 3
- PGO initialization fails on MariaDB download HOT 3
- Add exact requirements / better install manual to readme.md HOT 3
- libzip-1.6.1-vs16-x64 ENABLE_LZMA HOT 4
- Symfony HOT 1
- Auto
- MSys certs need updating
- Could not determine 'vs16' directory HOT 2
- How to choose vs 2017 when execute phpsdk-vc15-x64.bat? HOT 7
- when a path is contains blank spaces,bat execution failure HOT 5
- Failed to fetch supported branches HOT 4
- when command line include space in path the cli is not run HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-sdk-binary-tools.