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

 
 

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

Submitter:  None
Submitted:  Fri 08 Apr 2005 06:31:47 PM UTC
   
 
Category:  Hurd on L4 Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Joe-Jim
Originator Email:  -email is unavailable- Open/Closed:  Closed
Reproducibility:  None Size (loc):  None
Planned Release:  None Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-04-08 neal Open/ClosedOpen Closed
2005-04-08 None Carbon-Copy- Added joe-jim --AT-- mail --DOT-- ru

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code