Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7652741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:50:56+00:00 2026-05-31T11:50:56+00:00

This question was emerged from this question. The problem is that there is a

  • 0

This question was emerged from this question.

The problem is that there is a NVidia driver for Linux, compiled wth GCC 4.5. The kernel is compiled with GCC 4.6. Well, the stuff doesn’t work because of the version number difference between GCCs. (the installer says the driver won’t work – for details please visit the link above)

Could one disguise a binary compiled with GCC 4.5 to a binary compiled with GCC 4.6? If it is possible, under what circumstances would it work well?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T11:50:57+00:00Added an answer on May 31, 2026 at 11:50 am

    Your problem is called ABI: Application Binary Interface. This is a set of rules (among others) how functions in a piece of code get their arguments (ordering, padding of types on the stack), naming of the function so the linker can resolve symbols and padding/alignment of fields in structures.

    GCC tries to keep the ABI stable between compiler versions but that’s not always possible.

    For example, GCC 4.4 fixed a bug in packed bit-fields which means that old/new code can’t read structures using this feature properly anymore. If you would mix versions before and after 4.4, data corruption would occur without any crashes.

    There is no indication in the 4.6 release notes that the ABI was changed but that’s something which the Linux kernel can’t know – it just reads the compiler version used to compile the code and if the first two numbers change, it assumes that running the code isn’t safe.

    There are two solutions:

    1. You can compile the Nvidia driver with the same compiler as the kernel. This is strongly recommended

    2. You can patch the version string in the binary. This will trick the kernel into loading the module but at the risk of causing data corruption to internal data structures.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is related to my problem in understanding rebase, branch and merge ,
This question is related with one of my earlier questions.. Previous Post In there
My code is identical to this question I asked earlier so there's no point
This question would probably apply equally as well to other languages with C-like multi-line
This question is in context with the problem mentioned in this thread . I'm
This question answers pseudocode for roulette wheel selection . But it's for maximization problem.
This question is similar to this question , bit the big difference is that
This question , has an accepted answer that only redirects the out command to
I'm sure that this question has already been asked, but I don't really see
This question is about programming small microcontrollers without an OS. In particular, I'm interested

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.