incorrect place for LTO options description

2009-11-02 Thread Denis Onischenko
description of the LTO specific options (--enable-lto, --with-libelf and --enable gold) should be placed in "Options specification" section instead of "Java-Specific Options" section on http://gcc.gnu.org/install/configure.html

Re: Error when building cross compiler

2009-10-24 Thread Denis Onischenko
The error is also reproduced with gcc 4.5 revision 153504

Re: Error when building cross compiler

2009-10-24 Thread Denis Onischenko
>> There is something peculiar going on, because a >> x86_64-unknown-linux-gnu hosted compiler would not normally refer to >> libgcc_s.so.1 at all. Even if it did, nothing would normally direct >> the dynamic linker to look in the gcc build directory. Something is >> wrong but I don't know what i

Error when building cross compiler

2009-10-04 Thread Denis Onischenko
I am getting the following error when compiling "x86_64 to powerpc64" cross gcc, as soon as the libgcc_s.so.1 has appeared in obj/gcc directory. ... # Now that we have built all the objects, we need to copy # them back to the GCC directory.  Too many things (other # in-tree libraries, and DejaGNU

relative include search path

2009-05-25 Thread Denis Onischenko
I have a problem with gcc not finding location for stddef.h include file when it is invoked from directory other than /bin. Output from gcc invocation with -v option contains the following: ignoring nonexistent directory "../lib/gcc..." i.e. gcc is trying to find include files in directory with r

Re: GCC 4.5: "nonconstant array index in initializer" error

2009-04-25 Thread Denis Onischenko
> Is the kernel using this sort of non-integer-constant-expression in > bit-field widths as well?  Sizes of file-scope arrays (OK, a special case > for that was added for WINE)?  Null pointer constants (that's much more > problematic to add special cases for)?  __builtin_choose_expr conditions? > I

Re: GCC 4.5: "nonconstant array index in initializer" error

2009-04-25 Thread Denis Onischenko
) : __invalid_size_argument ) enum { ENUM_VALUE_NAME = TYPECHECK(int), }; int main() { return 0; } The error is following: test.c:5: error: enumerator value for 'ENUM_VALUE_NAME' is not an integer constant GCC 4.4.0 compiles this code without any error. 2009/4/24 Joseph S. Myers : > On Thu, 23 Ap

Re: GCC 4.5: "nonconstant array index in initializer" error

2009-04-23 Thread Denis Onischenko
4.5.0 revision 146607 compiles this code with following errors: test.c:5: error: nonconstant array index in initializer test.c:5: error: (near initialization for 'arr') released GCC 4.4.0 compiles without any errors 2009/4/23 Joseph S. Myers : > On Thu, 23 Apr 2009, Denis Oni

Re: GCC 4.5: "nonconstant array index in initializer" error

2009-04-23 Thread Denis Onischenko
integer constant expression 2009/4/23 Joseph S. Myers : > On Thu, 23 Apr 2009, Denis Onischenko wrote: > >> The following errors appears when I tried to compile linux kernel >> 2.6.30-rc2 with GCC 4.5: >> >> >> linux-2.6/drivers/gpu/drm/drm_drv.c:59: error: nonconstan

GCC 4.5: "nonconstant array index in initializer" error

2009-04-23 Thread Denis Onischenko
The following errors appears when I tried to compile linux kernel 2.6.30-rc2 with GCC 4.5: linux-2.6/drivers/gpu/drm/drm_drv.c:59: error: nonconstant array index in initializer linux-2.6/drivers/gpu/drm/drm_drv.c:59: error: (near initialization for 'drm_ioctls') ... compiled code looks like this