View previous topic :: View next topic |
Author |
Message |
OstCollector n00b
Joined: 02 Jan 2013 Posts: 13
|
Posted: Thu Mar 28, 2013 3:07 pm Post subject: mix amd64 and x32? |
|
|
I am trying to build a x32 box for several usages. However, I cannot compile nginx under this ABI, so is it possible to build an amd64 nginx with other part x32?
the message is something like "sysctl system call is unsupported in x32 kernel". |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Thu Apr 04, 2013 3:27 pm Post subject: |
|
|
You'll never be able to run the compiled x64 code in x86 box. _________________ My blog |
|
Back to top |
|
|
kurly Apprentice
Joined: 02 Apr 2012 Posts: 260
|
Posted: Thu Apr 04, 2013 6:09 pm Post subject: |
|
|
dE_logics wrote: | You'll never be able to run the compiled x64 code in x86 box. | They are talking about x32, not x86.
OstCollector: I think you can have a per-package -m64 flag. I do not recall the details, but I do remember at least one package failing to build in x32 when I tried, and that was the workaround. So what you are looking to do is possible, I just don't remember how to do it. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9507 Location: beyond the rim
|
Posted: Mon Apr 08, 2013 8:17 am Post subject: |
|
|
I don't know the current status of multilib and x32 in Gentoo, but mind that if you want to build a package as x86_64 you will also need to have all it's link dependencies as x86_64 as well (in parallel to the x32 version). You may also have to enable extra kernel options for x86_64 support (never dealt with x32 stuff). |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Mon Apr 08, 2013 10:19 am Post subject: |
|
|
Have a look here.
Although the topic is almost a year old, I still have the feeling that x32 is not major enough yet, or that the hassle involved is worth the trouble. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
OstCollector n00b
Joined: 02 Jan 2013 Posts: 13
|
Posted: Fri May 31, 2013 2:35 am Post subject: |
|
|
Being busy for a while.
I am trying to make a pure x32 box as a experiment.
It seems to be something related to a header
I made a patch for myself, and trying to submit a bug.
Also, this problem still exists in the newest stable version. |
|
Back to top |
|
|
|