bugThe GNU Hurd - Bugs: bug #12609, File hurd/physmem.h is absent

 
 

bug #12609: File hurd/physmem.h is absent

Submitted by:  None
Submitted on:  Fri 08 Apr 2005 06:31:47 PM UTC  
 
Category: Hurd on L4Severity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Joe-Jim
Originator Email: -unavailable-Open/Closed: Closed
Reproducibility: NoneSize (loc): None
Planned Release: NoneEffort: 0.00
Wiki-like text discussion box: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 08 Apr 2005 08:30:42 PM UTC, comment #3:

Fixed by:

2005-04-08 Neal H. Walfield <neal@gnu.org>

  • configure.ac: Add include for physmem/headers.m4.

Don't forget to regenerate configure.

Neal H. Walfield <neal>
Project Administrator
Fri 08 Apr 2005 08:24:50 PM UTC, comment #2:

thank you, Alexandre.
But when i tried to compile without libc, i'v got same error.

then i make symlink:
$ cd hurd
$ ln -s ../physmem/physmem.h ./
$ cd ..
$ make
then it follow the compilation, but break it when linking laden,
due to undefined reference to __chk_fail:
[...]
make[2]: Entering directory `/usr/home/yasha/work/gnu/hurd-l4/laden'
gcc -std=gnu99 -Wall -g -O3 -o laden -u_start -e_start -N -nostdlib -Ttext=0x190000 ia32-crt0.o laden-ia32-
cmain.o laden-ia32-output.o laden-output-vga.o laden-output-serial.o laden-ia32-shutdown.o laden-output.o lade
n-output-none.o laden-shutdown.o laden-loader.o laden-laden.o laden-kip-fixup.o -lgcc ../libc-parts/libc-parts
.a
../libc-parts/libc-parts.a(memcpy.o)(.text+0xa): In function `__memcpy_chk':
: undefined reference to `__chk_fail'
../libc-parts/libc-parts.a(memset.o)(.text+0xa): In function `__memset_chk':
: undefined reference to `__chk_fail'
collect2: ld returned 1 exit status
make[2]: *** [laden] Error 1
make[2]: Leaving directory `/usr/home/yasha/work/gnu/hurd-l4/laden'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/home/yasha/work/gnu/hurd-l4'
make: *** [all] Error 2

What goes wrong there?

- Joe-Jim

Anonymous
Fri 08 Apr 2005 07:13:46 PM UTC, comment #1:

Hi,

did you make sure to build without libc support first ?

You should try ./configure --without-libc --enable-maintainer-mode.

If you have already done a build without libc, symlink your headers to a place where gcc can find them (ln -s ~/hurd-l4/include/* /usr/local/include).

Alexandre Buisse <heimdall>
Fri 08 Apr 2005 06:31:47 PM UTC, original submission:

i get source from cvs (for first time), and
catch follow bug during compilation:

$ CVS_RSH="ssh" cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/hurd co hurd-l4
$ cd hurd-l4
$ autoreconf -f -i -s
$ ./configure --enable-maintainer-mode --prefix=/l4
$ make
[...]
Making all in libhurd-mm
make[2]: Entering directory `/usr/home/yasha/work/gnu/hurd-l4/libhurd-mm'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../libc-parts -std=gnu99 -Wall -g -O3 -MT mm-init.o -MD
-MP -MF ".deps/mm-init.Tpo" -c -o mm-init.o mm-init.c; \
then mv -f ".deps/mm-init.Tpo" ".deps/mm-init.Po"; else rm -f ".deps/mm-init.Tpo"; exit 1; fi
In file included from priv.h:30,
from mm-init.c:34:
mm.h:28:26: hurd/physmem.h: No such file or directory
In file included from priv.h:30,
from mm-init.c:34:
mm.h:63: error: parse error before "container"
mm.h:75: error: parse error before "container"
[...]

I think all troubles in absent hurd/physmem.h

Best regards.
- Joe-Jim

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 08 Apr 2005 08:30:42 PM UTCnealOpen/ClosedOpen=>Closed
Fri 08 Apr 2005 06:31:47 PM UTCNoneCarbon-Copy-=>Added joe-jim --AT-- mail --DOT-- ru

Back to the top


Powered by Savane 3.1-cleanup1