Questions tagged [binary-compatibility]

Binary compatibility is generally an ability of two hardware/software systems to run the same binary code without the need to recompile.

184 questions
0
votes
0 answers

How to resolve the java.lang.IncompatibleClassChangeError coming due to third party SDK update?

My Android project has a dependency on third-party SDK, which internally is using TensorFlow lite. Now I already have my application running without issue on an Android device but as soon as I update the third-party library, rebuild and run the…
0
votes
0 answers

How to change the version of a dependency during test execution to test binary compatibility with maven?

I'm currently working on a dbunit extension library. Thus this library depends on dbunit. I extracted the version as a maven property. 2.4.8
René Link
  • 48,224
  • 13
  • 108
  • 140
0
votes
0 answers

@EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed;

I am getting below on application startup and it is thrown randomly for different repositories. @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is…
m23
  • 61
  • 1
  • 2
  • 6
0
votes
0 answers

Cannot execute Linux binary file on MacBook Air M1

I have a third party library file compiled for Linux, when I tried to execute using terminal I get the error: cannot execute binary file: File details are as follows: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked,…
harish
  • 61
  • 1
  • 3
0
votes
0 answers

Binary names for the Type Variables - in classes/interfaces/method/constructor

Consider the following clause from the JLS §13.1 The binary name of a type variable declared by a generic class or interface (§8.1.2, §9.1.2) is the binary name of its immediately enclosing type, followed by $, followed by the simple name of the…
theutonium.18
  • 483
  • 2
  • 7
0
votes
0 answers

IncompatibleClassChangeError when invoking resolveFieldClass in JpaMetamodelUtils

I've been using blaze-persistence CriteriaBuilder for keyset pagination in my project. This was working fine until recently when I started getting IncompatibleClassChangeError runtime exception. This happens in a couple scenarios. On Application…
0
votes
1 answer

Add member variable to class in the shared library, will not break binary compatibility?

I had wanted to find an example to express my understanding of binary compatibility, but blown it. I want to change the layout of members of class in the DLL by add members to class at the beginning or in the middle, and expect that the variable…
Crawl.W
  • 403
  • 5
  • 17
0
votes
0 answers

Does C++ binary compatibility really works between VS 2015 and VS 2019?

I am using Google Test library(built on platform toolset v140 in visual studio 2015) in my vc++ project, which also builds in platform toolset v140 in visual studio 2015. Everything working fine till this point. Now when I migrate my project to…
0
votes
0 answers

Linking VS 2015 build dll to a VS 2012 application

I have linked set of dll's which are built using visual studio 2015 to a Visual Studio 2012 application, strangely I haven't seen any linker issues and I am able to execute the API's provided by those dll's. Will there be any problem with this…
0
votes
1 answer

why new virtual function will not break binary compatibility per phenomenon?

I'm learning the binary compatibility based on this KDE wiki, and see that add a virtual function to a class that doesn't have any virtual functions or virtual bases will break compatibility. Then I had a try. Assume I want to create a…
Leo
  • 21
  • 6
0
votes
0 answers

Ambigous about binary compatibility (release-to-release compatibility)

In the paper here, one of the transformation without break the binary compatibility is: The domain of the procedure can be enlarged to return values for inputs for which it previously aborted, failed to return (infinite loop or deadlock) I…
0
votes
2 answers

Should I recompile class implementation when non virtual function changes to virtual function?

I have a old static library(class implement), I'd like to change a non virtual function to virtual function in a class, should I recompile the library?
0
votes
1 answer

What's the difference in usage between shared libraries built in debug and release configuration (c++)?

I've come with problems using shared libraries (.dll in Win 10). I build a lib called xlib in two different configurations, and try to test use them via CMake in a project called xlibtest. the work flow is: Step A. build xlib => xlib.dll +…
xiang0x48
  • 621
  • 6
  • 20
0
votes
0 answers

Define error codes while preserving binary compatibility

I have my error codes (about 30 error codes) stored in an enum. A collegue warned me about it because if I change the numerical value of an enum, all code which uses my DLL will have to recompile or else the error codes become inconsistent. I…
Fabian
  • 4,001
  • 4
  • 28
  • 59
0
votes
1 answer

VB6 dll compatibility?

I have greatly edited a VB6 dll and when I try to compile it, I get a notification that informs me that this dll is no longer compatible with the older version? I am unsure how to proceed, originally when I made minor changes I had no problem…
ChewyMasta
  • 73
  • 2
  • 9
1 2 3
12
13