FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 08-26-2010, 11:42 AM
Al
 
Default Bootstrapping binutils breaks

When doing "emerge --oneshot --nodeps binutils" I run into errors
starting with a missing "sys/user.h". I find no direcotry "sys" in
the ".../bfd/" direcory. I did run it twice with the same result, so I
don't assume an instability of Cygwin.

Does this look like a bug in the sources of binutils? Hmm, it worked
on linux some days before.

Is it a missing dependency?

Is it a missconfiguration of mine?

Thank you

Al


##########################
some context before:
##########################

make[4]: Entering directory
`/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/build/bfd'

[ ... ]

libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd
-DTRAD_CORE -I.
-I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd
-I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/../include
-DBINDIR="/home/prefix/gentoo/usr/i686-pc-linux-gnu/binutils-bin/2.20.51.0.8"
-I/home/prefix/gentoo/usr/include -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -march=native -O2 -pipe -MT trad-core.lo
-MD -MP -MF .deps/trad-core.Tpo -c
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c
-o .libs/trad-core.o
libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd
-DTRAD_CORE -I.
-I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd
-I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/../include
-DBINDIR="/home/prefix/gentoo/usr/i686-pc-linux-gnu/binutils-bin/2.20.51.0.8"
-I/home/prefix/gentoo/usr/include -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -march=native -O2 -pipe -MT cpu-l1om.lo
-MD -MP -MF .deps/cpu-l1om.Tpo -c
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/cpu-l1om.c
-o cpu-l1om.o >/dev/null 2>&1

##########################
erorrs start here:
##########################

/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:45:44:
error: sys/user.h: No such file or directory
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:60:
error: field ‘u’ has incomplete type

/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:
In function ‘trad_unix_core_file_p’:
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:84:
error: storage size of ‘u’ isn’t known
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122:
error: ‘UPAGES’ undeclared (first use in this function)
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122:
error: (Each undeclared identifier is reported only once
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122:
error: for each function it appears in.)
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:191:
error: ‘HOST_TEXT_START_ADDR’ undeclared (first use in this function)
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:197:
error: ‘HOST_STACK_END_ADDR’ undeclared (first use in this function)
/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:84:
warning: unused variable ‘u’
 
Old 08-26-2010, 11:47 AM
Fabian Groffen
 
Default Bootstrapping binutils breaks

On 26-08-2010 13:42:05 +0200, Al wrote:
> When doing "emerge --oneshot --nodeps binutils" I run into errors
> starting with a missing "sys/user.h". I find no direcotry "sys" in
> the ".../bfd/" direcory. I did run it twice with the same result, so I
> don't assume an instability of Cygwin.

looks to me like cygwin just doesn't have a /usr/include/sys/user.h


--
Fabian Groffen
Gentoo on a different level
 
Old 08-26-2010, 11:49 AM
Markus Duft
 
Default Bootstrapping binutils breaks

On 08/26/2010 01:47 PM, Fabian Groffen wrote:
> On 26-08-2010 13:42:05 +0200, Al wrote:
>> When doing "emerge --oneshot --nodeps binutils" I run into errors
>> starting with a missing "sys/user.h". I find no direcotry "sys" in
>> the ".../bfd/" direcory. I did run it twice with the same result, so I
>> don't assume an instability of Cygwin.
>
> looks to me like cygwin just doesn't have a /usr/include/sys/user.h
>

probably cygwin maintains their own set of binutils patches...? they
need rather special stuff anyway, i guess. i don't think that it will be
easy to get this building out of the box. ask somewhere in the cygwin
realm, whether it's possible to obtain patches and/or build without them...

markus

>
 
Old 08-26-2010, 11:50 AM
Al
 
Default Bootstrapping binutils breaks

> looks to me like cygwin just doesn't have a /usr/include/sys/user.h

Right! There is nothing between:

/usr/include/sys/string.h

and

/usr/include/sys/sysinfo.h

Thank you. Now I at least know what to search for.

Al
 
Old 08-26-2010, 12:08 PM
Al
 
Default Bootstrapping binutils breaks

> /usr/include/sys/string.h
>
> and
>
> /usr/include/sys/sysinfo.h
>

OOPs, where do search "user.h"? Anyway, it is missing.

Al
 
Old 08-26-2010, 12:10 PM
Michael Haubenwallner
 
Default Bootstrapping binutils breaks

On 08/26/2010 01:42 PM, Al wrote:
> When doing "emerge --oneshot --nodeps binutils" I run into errors
> starting with a missing "sys/user.h". I find no direcotry "sys" in
> the ".../bfd/" direcory. I did run it twice with the same result, so I
> don't assume an instability of Cygwin.

Does it work when you just drop including sys/user.h in binutils?

That did work for hpux11.31 some time ago, where sys/user.h was dropped
(did exist in hpux11.23):
http://sourceware.org/ml/binutils/2008-11/msg00310.html

/haubi/

>
> Does this look like a bug in the sources of binutils? Hmm, it worked
> on linux some days before.
>
> Is it a missing dependency?
>
> Is it a missconfiguration of mine?
>
> Thank you
>
> Al
>
>
> ##########################
> some context before:
> ##########################
>
> make[4]: Entering directory
> `/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/build/bfd'
>
> [ ... ]
>
> libtool: compile: gcc -DHAVE_CONFIG_H -I.
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd
> -DTRAD_CORE -I.
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/../include
> -DBINDIR="/home/prefix/gentoo/usr/i686-pc-linux-gnu/binutils-bin/2.20.51.0.8"
> -I/home/prefix/gentoo/usr/include -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wshadow -march=native -O2 -pipe -MT trad-core.lo
> -MD -MP -MF .deps/trad-core.Tpo -c
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c
> -o .libs/trad-core.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I.
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd
> -DTRAD_CORE -I.
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd
> -I/home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/../include
> -DBINDIR="/home/prefix/gentoo/usr/i686-pc-linux-gnu/binutils-bin/2.20.51.0.8"
> -I/home/prefix/gentoo/usr/include -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wshadow -march=native -O2 -pipe -MT cpu-l1om.lo
> -MD -MP -MF .deps/cpu-l1om.Tpo -c
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/cpu-l1om.c
> -o cpu-l1om.o >/dev/null 2>&1
>
> ##########################
> erorrs start here:
> ##########################
>
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:45:44:
> error: sys/user.h: No such file or directory
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:60:
> error: field ‘u’ has incomplete type
>
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:
> In function ‘trad_unix_core_file_p’:
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:84:
> error: storage size of ‘u’ isn’t known
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122:
> error: ‘UPAGES’ undeclared (first use in this function)
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122:
> error: (Each undeclared identifier is reported only once
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:122:
> error: for each function it appears in.)
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:191:
> error: ‘HOST_TEXT_START_ADDR’ undeclared (first use in this function)
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:197:
> error: ‘HOST_STACK_END_ADDR’ undeclared (first use in this function)
> /home/prefix/gentoo/var/tmp/portage/sys-devel/binutils-2.20.51.0.8/work/binutils-2.20.51.0.8/bfd/trad-core.c:84:
> warning: unused variable ‘u’
>

--
Michael Haubenwallner
Gentoo on a different level
 

Thread Tools




All times are GMT. The time now is 12:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org