public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/58828] Problem compiling gcc 4.8.2 using gcc 4.4.6
       [not found] <bug-58828-4@http.gcc.gnu.org/bugzilla/>
@ 2013-10-23 14:16 ` bugzilla@poradnik-webmastera.com
  2013-10-23 18:53 ` bugzilla@poradnik-webmastera.com
  1 sibling, 0 replies; 2+ messages in thread
From: bugzilla@poradnik-webmastera.com @ 2013-10-23 14:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58828

--- Comment #2 from Daniel Fruzynski <bugzilla@poradnik-webmastera.com> ---
Thanks for reply.

As I checked, this also happens when compiling using gcc 4.7.3, so looks that
this is more general problem.

File [path]/gcc/obj/gcc/config.status contains following entry:

configured by [path]/gcc/gcc-4.8.2/gcc/configure, generated by GNU Autoconf
2.64,
  with options \"'--cache-file=./config.cache' '--with-gnu-as' '--with-gnu-ld'
'--prefix=[path]/gcc-4.8.2-linux/' '--disable-nls' '--enable-threads=posix'
'--enable-checking=release' '--enable-__cxa_atexit' '--with-tune=generic'
'--with-arch_32=i686' '--enable-languages=c,c,c++,lto'
'--program-transform-name=s,y,y,' '--disable-option-checking'
'--build=x86_64-redhat-linux' '--host=x86_64-redhat-linux'
'--target=x86_64-redhat-linux' '--srcdir=../../gcc-4.8.2/gcc'
'--disable-intermodule' '--enable-checking=release,types' '--disable-coverage'
'--enable-languages=c,c++,lto' 'build_alias=x86_64-redhat-linux'
'host_alias=x86_64-redhat-linux' 'target_alias=x86_64-redhat-linux'
'CC=x86_64-redhat-linux-gcc' 'CFLAGS=-g -fkeep-inline-functions' 'LDFLAGS= '
'CXX=x86_64-redhat-linux-g++' 'CXXFLAGS=-g -fkeep-inline-functions'
'GMPLIBS=-L[path]/gcc/obj/./gmp/.libs -L[path]/gcc/obj/./mpfr/src/.libs
-L[path]/gcc/obj/./mpc/src/.libs -lmpc -lmpfr -lgmp'
'GMPINC=-I[path]/gcc/obj/./gmp -I[path]/gcc/gcc-4.8.2/gmp
-I[path]/gcc/obj/./mpfr/src -I[path]/gcc/gcc-4.8.2/mpfr/src
-I[path]/gcc/gcc-4.8.2/mpc/src ' 'CLOOGLIBS=' 'CLOOGINC='\" 

So -fkeep-inline-functions was passed from outside. I checked
[path]/gcc/obj/config.status and found this:

S["stage1_cflags"]="-g -fkeep-inline-functions"

Looks that there is some issue with top-level configure script.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/58828] Problem compiling gcc 4.8.2 using gcc 4.4.6
       [not found] <bug-58828-4@http.gcc.gnu.org/bugzilla/>
  2013-10-23 14:16 ` [Bug bootstrap/58828] Problem compiling gcc 4.8.2 using gcc 4.4.6 bugzilla@poradnik-webmastera.com
@ 2013-10-23 18:53 ` bugzilla@poradnik-webmastera.com
  1 sibling, 0 replies; 2+ messages in thread
From: bugzilla@poradnik-webmastera.com @ 2013-10-23 18:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58828

--- Comment #3 from Daniel Fruzynski <bugzilla@poradnik-webmastera.com> ---
OK, I found it. I used script symlink-tree (distributed with binutils) to
create symlinks to binutils in gcc source dir. This script removed some gcc
source files and replaced them with symlinks to corresponding files in binutils
dir. I assumed that it will help me, but it created more problems.

I am building gcc without binutils symlinked, and build is on stage 2 now. Look
that it will complete successfully.

I think that dedicated script to symlink all binutils into gcc dir would be
useful. Could you create one?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-23 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-58828-4@http.gcc.gnu.org/bugzilla/>
2013-10-23 14:16 ` [Bug bootstrap/58828] Problem compiling gcc 4.8.2 using gcc 4.4.6 bugzilla@poradnik-webmastera.com
2013-10-23 18:53 ` bugzilla@poradnik-webmastera.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).