Summary: | geode: inline assembler fails on 64-bit platforms | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Gaetan Nadon <memsize> | ||||||
Component: | Build/Modular | Assignee: | Gaetan Nadon <memsize> | ||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | dgerard, peter.hutterer | ||||||
Version: | git | Keywords: | janitor | ||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Gaetan Nadon
2009-07-27 17:31:46 UTC
Created attachment 28065 [details]
[PATCH] build.sh: build video-geode on i686 only #22979
> --- Comment #1 from Gaetan Nadon <memsize@videotron.ca> 2009-07-27 17:40:14 PST ---
> Created an attachment (id=28065)
> --> (http://bugs.freedesktop.org/attachment.cgi?id=28065)
> [PATCH] build.sh: build video-geode on i686 only #22979
>
the check should probably not be for i686 specifically. See the vmmouse
or intel checks for example (also uname -m is a pretty bad way to check
for the target architecture, you can build 32bit code on amd64 just
fine...)
(In reply to comment #2) > > --- Comment #1 from Gaetan Nadon <memsize@videotron.ca> 2009-07-27 17:40:14 PST --- > > Created an attachment (id=28065) [details] > > --> (http://bugs.freedesktop.org/attachment.cgi?id=28065) > > [PATCH] build.sh: build video-geode on i686 only #22979 > > > the check should probably not be for i686 specifically. See the vmmouse Thanks Julien, I agree, i686 is not accurate enough, just did not know what else to pick. > or intel checks for example (also uname -m is a pretty bad way to check In build.sh: both use: case $HOST_CPU in i*86* | amd64* | x86*64*) and HOST_CPU is assigned the value of uname -m. Anywhere else I should be looking? > for the target architecture, you can build 32bit code on amd64 just > fine...) One can install a 32-bit Linux O/S on AMD64. In that case uname returns i686 as opposed to x86_64. > My goal was not to identify a 32-bit O/S on AMD, just to filter out LP64 systems to prevent build failure. It's ok if it builds on any non AMD i686 CPU even if it is not intended to run on such CPUs. Is there a 64-bit O/S running X Window where uname -m returns i686? Looking again on the net, I found a Geode LX reporting i586: root@alix:~$ uname -m i586 I'll replace this patch with one that checks for i*86* just to be safe. I'll be happy to consider other solutions (preventing build breaks while letting Geode compile is good enough) or even drop the whole thing if it is deemed too risky. Created attachment 28208 [details] [review] [PATCH] build.sh: build video-geode on i*86* only #22979 patch forwarded to xorg-devel for comments. Pushed as 1165bdd1e1dcd4697aaf67386a4056626dc4efdf. Thanks for the patch. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.