-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABI problem with gcc-7 on Debian #707
Comments
We had similar problems with gcc 7 under Fedora. A recent update to the compiler fixed the problem. We are compiling with g++ (GCC) 7.1.1 20170622 and your test.cpp source compiles without complaint. |
Debian is running 7.2 which was released Aug 14, 2017:
|
The patch was just the latest update to GCC 7.1, we did not make any changes to ImageMagick. We have access to Fedora, Ubuntu, and CentOS and test.cpp works fine on all of these systems. We do not have access to a Debian system so we're not sure how we can help. It could very well be a compiler issue. |
Hmm I don't see any gcc 7.1.1 release on the GNU website, must have been a Fedora thing or so. I'll have to figure out what exactly they patched. |
This may be related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871300 |
We've been having trouble building the R bindings on Debian "testing" (Buster). I have arrowed it down to the
std::string()
coercion of theMagick::Color
class.I am unsure if this is a bug in IM or Debian or me. I know that Debian ships a reasonable old version of IM6, but perhaps we can at least point down the issue so that I can properly understand and report it.
Below a minimal example:
The program builds fine with g++6 but with g++7 I get a linking error:
However with gcc 7 we get:
The text was updated successfully, but these errors were encountered: