mainThe GNU Hurd - Support: sr #100133, Problems compiling gnumach and hurd

 
 

sr #100133: Problems compiling gnumach and hurd

Submitter:  Luis Alberto Lucas <lalucas>
Submitted:  Tue 11 Sep 2001 11:58:09 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Operating System:  None
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 23 Jan 2002 11:17:28 AM UTC, comment #3: 


Marcus Brinkmann <marcus>
Group administrator
Wed 23 Jan 2002 11:17:21 AM UTC, comment #2: 


Marcus Brinkmann <marcus>
Group administrator
Thu 15 Nov 2001 02:59:54 PM UTC, comment #1: 


Hi,

the mig in the Debian distribution was broken, it had CC set
to i386-gnu-gcc by default.  This was recently fixed (but
another bug was introduced, see mailing list bug-hurd).

The second error is a bug in gcc, dropping either -g or -O3
in CFLAGS seems to fix it (I use -O2).

Thanks,
Marcus

Marcus Brinkmann <marcus>
Group administrator
Tue 11 Sep 2001 11:58:09 AM UTC, original submission:  


I'm running Hurd 0.2 and I got the last version of
Gnumach an Hurd from CVS .

I tried to compile Gnumach by doing:

./configure
make

but I got the following error:

mig -nostdinc -DMACH -DCMU -DMACH_KERNEL -DKERNEL
-DMACH_KMSG=1  -DCONTINUATIONS -D__ELF__ -Di386
-DLINUX_DEV -I./i386/i386at -I./i386/i386
-I./i386/include -I./i386/include/mach/sa
-I./i386/bogus -I./i386 -I. -I. -I./include -I./bogus
-I./util -I./kern -I./device -header
mach_i386_interface.h -server mach_i386_server.c -user
/dev/null ./i386/i386/mach_i386.srv
/usr/bin/mig: i386-gnu-gcc: command not found
mig: fatal: no SubSystem declaration
make: * [mach_i386_server.c] Error 1

I edited the file '/usr/bin/mig' and changed
default_cc=''i386-gnu-gcc'' to default_cc=''gcc-3.0''
and tried to compile again, getting the errors:

cd i386 && make all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/gnumach/i386'
cd linux && make all
make[2]: Entering directory
`/linux.home/lalucas/hurd_src/gnumach/i386/linux'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/linux.home/lalucas/hurd_src/gnumach/i386/linux'
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/gnumach/i386'
ld -Ttext 100000 -o kernel kernel.o clib-routines.o
clib-routines.o: In function `strpbrk':
clib-routines.o(.text+0x330): multiple definition of
`strpbrk'
kernel.o(.text+0x464e0): first defined here
ld: Warning: size of symbol `strpbrk' changed from 53
to 179 in clib-routines.o
make: * [kernel] Error 1


After trying to compile Gnumach without success, I
tried to compile the Hurd but there was no  'configure'
script so I tried 'autoconf' to generate it.  I did:

autoconf
./configure
make

and I got the errors:

make -C libshouldbeinlibc all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libshouldbeinlibc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libshouldbeinlibc'
make -C libihash all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libihash'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libihash'
make -C libthreads all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libthreads'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libthreads'
make -C libiohelp all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libiohelp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libiohelp'
make -C libports all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libports'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libports'
make -C libpager all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libpager'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libpager'
make -C libfshelp all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libfshelp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libfshelp'
make -C libstore all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libstore'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libstore'
make -C libdiskfs all
make[1]: Entering directory
`/linux.home/lalucas/hurd_src/hurd/libdiskfs'
gcc -O -Wall -g -O3  -I.  -I..  -I../include
-D_GNU_SOURCE -D_IO_MTSAFE_IO    -c -o file-syncfs.o
file-syncfs.c
file-syncfs.c: In function `helper':
file-syncfs.c:61: Internal compiler error:
file-syncfs.c:61: internal error--unrecognizable insn:
(insn/i 112 111 113 (parallel[
            (set (reg/v:SI 42)
                (asm_operands/v ("xchgl %0, %1")
("=&r") 0[
                        (reg:SI 41)
                    ]
                    [
                        (asm_input:SI ("0"))
                    ]  ("/include/machine-lock.h") 53))
            (set (mem/v:SI (reg/v:SI 39) 0)
                (asm_operands/v ("xchgl %0, %1") ("=m")
1[
                        (reg:SI 41)
                    ]
                    [
                        (asm_input:SI ("0"))
                    ]  ("/include/machine-lock.h") 53))
        ] ) -1 (insn_list 106 (insn_list 111 (nil)))
    (expr_list:REG_DEAD (reg:SI 41)
        (nil)))
make[1]: * [file-syncfs.o] Error 1
make[1]: Leaving directory
`/linux.home/lalucas/hurd_src/hurd/libdiskfs'
make: * [libdiskfs] Error 2

Luis Alberto Lucas <lalucas>

 

(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

 

Carbon-Copy List
  • -email is unavailable- added by kloudym3_ (Updated the item)
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-29 tschwinge Attached File#46118 Removed
    2019-01-29 kloudym3_ Attached File- Added Screenshot_2019-01-23-04-00-36.png, #46118
    2002-01-23 marcus Closed on2002-01-23 -
    2002-01-23 marcus support_status_id1
        Closed on- -

    Back to the top

    Powered by Savane 3.12