Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mix amd64 and x32?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
OstCollector
n00b
n00b


Joined: 02 Jan 2013
Posts: 13

PostPosted: Thu Mar 28, 2013 3:07 pm    Post subject: mix amd64 and x32? Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Apr 04, 2013 3:12 pm    Post subject: Reply with quote

Code:
cat /etc/make.conf

_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Thu Apr 04, 2013 3:27 pm    Post subject: Reply with quote

You'll never be able to run the compiled x64 code in x86 box.
_________________
My blog
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Thu Apr 04, 2013 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Mon Apr 08, 2013 8:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Mon Apr 08, 2013 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message
OstCollector
n00b
n00b


Joined: 02 Jan 2013
Posts: 13

PostPosted: Fri May 31, 2013 2:35 am    Post subject: Reply with quote

Being busy for a while.
I am trying to make a pure x32 box as a experiment. :D

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum