public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49245] New: Cannot compile
@ 2011-05-31 19:25 gcc@marc-richter.info
  2011-05-31 19:39 ` [Bug c++/49245] " gcc@marc-richter.info
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gcc@marc-richter.info @ 2011-05-31 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Cannot compile
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gcc@marc-richter.info


Created attachment 24405
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24405
This is the build log of the application

I am trying to compile gcc in Gentoo Linux. I already filed a bug there, but
since it couldn't be solved for more than 1,5 months now, I guess it is a
deeper gcc issue, noone there can solve.
You can find that record here: http://bugs.gentoo.org/show_bug.cgi?id=363675
It fails with the following output:



/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/./prev-gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/./prev-gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO
-DEFAULT_BIND_NOW   -O2 -pipe -march=core2 -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc
-I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/.
-I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/../include
-I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/../libcpp/include 
-I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/../libdecnumber
-I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/../libdecnumber/bid
-I../libdecnumber   
/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/cfgbuild.c -o
cfgbuild.o                                                                     
{standard input}: Assembler messages:                                          
                            {standard input}:73965: Warning: end of file not at
end of a line; newline inserted                                                
                       {standard input}:73986: Error: no such instruction: `mo'

{standard input}:73986: Error: open CFI at the end of file; missing
.cfi_endproc directive                                                         
             xgcc: Internal error: Killed (program cc1)




I'm no developer, but these environment facts might help here:

jb-gen2-0001 ~ # emerge --info
Portage 2.1.9.42 (hardened/linux/amd64, gcc-4.4.4, glibc-2.11.3-r0,
2.6.38.2-jb1 x86_64)
=================================================================
System uname:
Linux-2.6.38.2-jb1-x86_64-Intel-R-_Xeon-R-_CPU_L5630_@_2.13GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 15 Apr 2011 07:45:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
virtual/os-headers:  0
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-O2 -pipe -march=core2"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"


Also, please find attached a complete build lo.


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

* [Bug c++/49245] Cannot compile
  2011-05-31 19:25 [Bug c++/49245] New: Cannot compile gcc@marc-richter.info
@ 2011-05-31 19:39 ` gcc@marc-richter.info
  2011-05-31 19:42 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: gcc@marc-richter.info @ 2011-05-31 19:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Marc Richter <gcc@marc-richter.info> 2011-05-31 19:37:50 UTC ---
PS: I can provide a root login for a server wherethis is reproduceable
happening. You might try or destroy anything you like there, since I can easily
make a snapshot of the system.
Please just tell me if this is needed, since I do not like to publish the
credentials in public here.


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

* [Bug c++/49245] Cannot compile
  2011-05-31 19:25 [Bug c++/49245] New: Cannot compile gcc@marc-richter.info
  2011-05-31 19:39 ` [Bug c++/49245] " gcc@marc-richter.info
@ 2011-05-31 19:42 ` redi at gcc dot gnu.org
  2011-05-31 20:04 ` [Bug bootstrap/49245] " redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2011-05-31 19:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-31 19:41:32 UTC ---
looks like you ran out of memory and the OOM killer kicked in


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

* [Bug bootstrap/49245] Cannot compile
  2011-05-31 19:25 [Bug c++/49245] New: Cannot compile gcc@marc-richter.info
  2011-05-31 19:39 ` [Bug c++/49245] " gcc@marc-richter.info
  2011-05-31 19:42 ` redi at gcc dot gnu.org
@ 2011-05-31 20:04 ` redi at gcc dot gnu.org
  2011-05-31 21:09 ` redi at gcc dot gnu.org
  2011-05-31 22:28 ` gcc@marc-richter.info
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2011-05-31 20:04 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |bootstrap

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-31 19:42:35 UTC ---
component should be bootstrap, this isn't a c++ issue


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

* [Bug bootstrap/49245] Cannot compile
  2011-05-31 19:25 [Bug c++/49245] New: Cannot compile gcc@marc-richter.info
                   ` (2 preceding siblings ...)
  2011-05-31 20:04 ` [Bug bootstrap/49245] " redi at gcc dot gnu.org
@ 2011-05-31 21:09 ` redi at gcc dot gnu.org
  2011-05-31 22:28 ` gcc@marc-richter.info
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2011-05-31 21:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-31 20:13:10 UTC ---
you could have tried searching the web for the last error:
http://bugs.gentoo.org/256766


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

* [Bug bootstrap/49245] Cannot compile
  2011-05-31 19:25 [Bug c++/49245] New: Cannot compile gcc@marc-richter.info
                   ` (3 preceding siblings ...)
  2011-05-31 21:09 ` redi at gcc dot gnu.org
@ 2011-05-31 22:28 ` gcc@marc-richter.info
  4 siblings, 0 replies; 6+ messages in thread
From: gcc@marc-richter.info @ 2011-05-31 22:28 UTC (permalink / raw)
  To: gcc-bugs

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

Marc Richter <gcc@marc-richter.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Marc Richter <gcc@marc-richter.info> 2011-05-31 22:20:24 UTC ---
Absolutely great!!! As soon, as I remove "-pipe" from CFLAGS it works!
Thank you very much Jonathan for your incredibly fast help on this!
I used Google before, but I haven't found the right answer. Guess I used the
wrong keywords ..
Can't believe you solved an issue I'm waiting more than 1,5 months from the
Gentoo people for in 3 minutes 42 seconds ... ;)


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

end of thread, other threads:[~2011-05-31 22:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31 19:25 [Bug c++/49245] New: Cannot compile gcc@marc-richter.info
2011-05-31 19:39 ` [Bug c++/49245] " gcc@marc-richter.info
2011-05-31 19:42 ` redi at gcc dot gnu.org
2011-05-31 20:04 ` [Bug bootstrap/49245] " redi at gcc dot gnu.org
2011-05-31 21:09 ` redi at gcc dot gnu.org
2011-05-31 22:28 ` gcc@marc-richter.info

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