public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* "ld returned 1 exit status" error while building LATEST-4.7
@ 2011-11-06  2:18 Nathan Ridge
  2011-11-06  8:43 ` Nathan Ridge
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Ridge @ 2011-11-06  2:18 UTC (permalink / raw)
  To: GCC Help Mailing List


I am trying to build the current LATEST-4.7 snapshot (20111105),
and I am getting the following error:

gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H  -o lto1 \
                lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o main.o tree-browser.o libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a   -lmpc -lmpfr -lgmp -rdynamic -ldl  -L../zlib -lz libcommon.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
collect2: ld returned 1 exit status
make[3]: *** [lto1] Error 1
make[3]: Leaving directory `/home/nr/Programs/gcc/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/nr/Programs/gcc/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/nr/Programs/gcc/build'
make: *** [bootstrap-lean] Error 2
nr@dali:~/Programs/gcc/build$ cd ..
nr@dali:~/Programs/gcc$ ls

Since there is no error message, I don't even know how to investigate
the issue further...

I am configuring with:

../src/configure --program-suffix=-4.7 --enable-languages=c,c++ --prefix=/home/nr/Programs/gcc/dest-20111105/

and building with:

make bootstrap-lean

I have successfully built older snapshots (from October, IIRC) on the same machine
with the same commands.

Any idea about what might be going on?

Thanks,
Nate
 		 	   		  

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

* RE: "ld returned 1 exit status" error while building LATEST-4.7
  2011-11-06  2:18 "ld returned 1 exit status" error while building LATEST-4.7 Nathan Ridge
@ 2011-11-06  8:43 ` Nathan Ridge
  2011-11-06 19:34   ` Ian Lance Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Ridge @ 2011-11-06  8:43 UTC (permalink / raw)
  To: GCC Help Mailing List


Sorry, turns out I had simply run out of disk space...

In my defense, make bootstrap-lean now requires > 1.2 GB
of disk space... it used to only require about half that
much in 4.5. Does anyone know the reason for this large 
increase?

Thanks,
Nate
 		 	   		  

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

* Re: "ld returned 1 exit status" error while building LATEST-4.7
  2011-11-06  8:43 ` Nathan Ridge
@ 2011-11-06 19:34   ` Ian Lance Taylor
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Lance Taylor @ 2011-11-06 19:34 UTC (permalink / raw)
  To: Nathan Ridge; +Cc: GCC Help Mailing List

Nathan Ridge <zeratul976@hotmail.com> writes:

> In my defense, make bootstrap-lean now requires > 1.2 GB
> of disk space... it used to only require about half that
> much in 4.5. Does anyone know the reason for this large 
> increase?

Bootstrapping mainline now builds libstdc++ in stages 1 and 2, which did
not happen before.

Ian

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

end of thread, other threads:[~2011-11-06 19:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-06  2:18 "ld returned 1 exit status" error while building LATEST-4.7 Nathan Ridge
2011-11-06  8:43 ` Nathan Ridge
2011-11-06 19:34   ` Ian Lance Taylor

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).