-
Notifications
You must be signed in to change notification settings - Fork 140
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
Support 32-bit builds #341
Comments
I actually noticed this when testing my LFS-Pull-Request. :-) Take the following with a pinch of salt, I am by no means an expert on this, so anything of the following may be wrong, so please correct me in order for me to learn something ;-): The only reference to a similar problem which I could find, was this bug report on the Debian and binutils bugtrackers (by the same person):
I have yet to test, whether adding those symbols to the objcopy call would fix things. Then again, even if this makes it work, I am not really sure, whether it is the "right" approach, given that this is a highly implementation dependent thing. |
Cool, thanks for the information. I actually don't use i386 for anything, but our automated build system tried to build it for i386 and failed, so I figured I'd ask. For now I'll just disable i386 builds for that package and call it a day 😄 You think it's worth me opening a separate ticket to support i386? I don't feel strongly about supporting it and it's probably more work for little gain. |
Didn't you just do that? I mean why do ask to open "a separate ticket", when you have, in fact, already opened one. So why not leave this ticket open? I do not think it is a lot of work for someone who is familiar with those things and I do see some gain in fixing this. Despite claims to the contrary, i386 is not going disappear any time soon and there are other architectures that probably rely on similar helper-functions to implement position-independent code (which is why I am wary about hard-coding those symbols anywhere on our side). (I am "only" a user, so let's hear what others think) |
Fair enough 😄 |
Can this be fixed by modified linker script? We can tell it not to discard needed section. |
I think it can (at least that's what I remember from investigating it in March 2017). I think it's worth giving it a try. |
Hmm, I do not understand the following thing. Error messages I get on Ubuntu 16 (32-bit) looks like this:
But
Why is it looking for Also, I did not find |
I have some thoughts that actually |
Actually, the first thing I tried to fix problem with symbols was adding these symbols with |
When I try to run it in my 32-bit build environment, I get the following error:
Not sure if it's something weird about my environment (which is admittedly unusual), but I figured I'd avoid wasting time on it if it's not expected to work on 32-bit systems in the first place.
The text was updated successfully, but these errors were encountered: