First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 130933
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Rothe <corsair@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xorg-server.output.txt a few lines before and after the error text/plain Markus Rothe 2006-04-23 00:28 0000 2.79 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130933 depends on: Show dependency tree
Show dependency graph
Bug 130933 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-23 00:28 0000
Hello,

while testing linux-headers-2.6.16 on my PPC64 machine I ran into this problem
while compiling x11-base/xorg-server-1.0.2-r3:


[...]
In file included from ../../../hw/xfree86/os-support/xf86_OSlib.h:756,
                 from xf86Configure.c:45:
./compiler.h:1086:25: error: asm/memory.h: No such file or directory
[...]


seems like the file has moved or something like that..


this comes from a system running linux-headers-2.6.11-r5:
$ find /usr/include/ -name memory.h
/usr/include/asm/memory.h
/usr/include/memory.h
/usr/include/asm-ppc64/memory.h
$


and this is a system running linux-headers-2.6.16:
# find /usr/include/ -name memory.h
/usr/include/linux/memory.h
/usr/include/memory.h
#


plasmaroo: I assigned this bug to you as it seems header releated. feel free to
reassign if it does not 'belong' to you ;-)

------- Comment #1 From Markus Rothe 2006-04-23 00:28:58 0000 -------
Created an attachment (id=85244) [edit]
a few lines before and after the error

------- Comment #2 From Tim Yamin (RETIRED) 2006-04-29 13:55:53 0000 -------
Hmm, fun, if you touch /usr/include/asm/memory.h does that fix it?

------- Comment #3 From Markus Rothe 2006-05-07 02:39:20 0000 -------
Same issue with x11-drivers/xf86-video-ati-6.5.8.0:

powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server
-DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg 
-I/usr/include/drm -I/usr/include/X11/dri -O2 -pipe -mtune=970 -mcpu=970 
-mabi=altivec -ftree-vectorize -ggdb -MT atibus.lo -MD -MP -MF .deps/atibus.Tpo
-c atibus.c  -fPIC -DPIC -o .libs/atibus.o
In file included from atiio.h:35,
                 from atibus.c:32:
/usr/include/xorg/compiler.h:1086:25: error: asm/memory.h: No such file or
directory

------- Comment #4 From Tim Yamin (RETIRED) 2006-05-09 13:56:47 0000 -------
(In reply to comment #2)
> Hmm, fun, if you touch /usr/include/asm/memory.h does that fix it?

Try that please :)

------- Comment #5 From Markus Rothe 2006-05-09 15:09:54 0000 -------
(In reply to comment #4)
> (In reply to comment #2)
> > Hmm, fun, if you touch /usr/include/asm/memory.h does that fix it?
> 
> Try that please :)
> 

yes, that fixed the error.

Sorry, I should have read that...

So, there should be an empty memory.h included in linux-headers?

------- Comment #6 From Markus Rothe 2006-05-10 12:30:17 0000 -------
hrm.. I suppose the better solution is to remove the include line on ppc64?

------- Comment #7 From Tim Yamin (RETIRED) 2006-05-26 06:41:43 0000 -------
(In reply to comment #6)
> hrm.. I suppose the better solution is to remove the include line on ppc64?

Yeah, but that might break things with 2.6.11 from what I can recall
(dostrow?). So I'll just make a dummy header.

------- Comment #8 From Tim Yamin (RETIRED) 2006-05-26 08:04:09 0000 -------
Fixed in 2.6.16-3.

------- Comment #9 From Markus Rothe 2006-08-06 23:16:11 0000 -------
plasmaroo: that dummy file got removed? a recent install of
linux-headers-2.6.16 did not include it.

------- Comment #10 From Tim Yamin (RETIRED) 2006-08-07 15:31:48 0000 -------
(In reply to comment #9)
> plasmaroo: that dummy file got removed? a recent install of
> linux-headers-2.6.16 did not include it.

No, looks like something got changed somewhere, not quite sure what (maybe
kernel-2.eclass or epatch), and the dummy file wasn't being made correctly by
the patch. Fixed in 2.6.16-4, InCVS.

First Last Prev Next    No search results available      Search page      Enter new bug