Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67455 - dev-util/ddd-3.3.7 won't open simple C++ "hello world" binary
Summary: dev-util/ddd-3.3.7 won't open simple C++ "hello world" binary
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
: 163656 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-13 13:08 UTC by Greg Yasko
Modified: 2007-01-25 01:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Yasko 2004-10-13 13:08:41 UTC
When I either open DDD and then File->Open the cpptest binary or, from gnome-terminal run "ddd cpptest" I get the below message in a dialog box:

/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S: No such file or directory


The code for the hello world program, cpptest.cpp follows:

#include<iostream>
using namespace std;

int main()
{
	cout << "Hello World";
	    
	return 0;
 }

Reproducible: Always
Steps to Reproduce:
1. g++ cpptest.cpp
2. ddd a.out

Actual Results:  
DDD now gives the error and won't open the file. Using just gdb from the command
line works just fine though.


Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27)
=================================================================
System uname: 2.4.27 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/
http://cudlug.cudenver.edu/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/
http://gentoo.ccccom.com ftp://gentoo.ccccom.com
http://ftp-mirror.internap.com/pub/gentoo/
ftp://ftp-mirror.internap.com/pub/gentoo/ http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/
http://mirrors.acm.cs.rpi.edu/gentoo/ http://lug.mtu.edu/gentoo/
ftp://lug.mtu.edu/gentoo/source ftp://ftp.ndlug.nd.edu/pub/gentoo/
http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/
http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo
http://gentoo.eliteitminds.com http://www.gigaload.org/gentoo.org/
http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups doc dvd dvdr encode
esd f77 foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib jikes
joystick jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nowin
oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl
slang spell ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xprint xv zlib"
Comment 1 Pawel Nowak 2004-10-13 15:23:24 UTC
You ought to compile your program with -g option.
Comment 2 Greg Yasko 2004-10-13 17:04:04 UTC
Thanks, Pawel. I was confused because it worked fine with gdb.

Sorry for the unnecessary bug.
Comment 3 SpanKY gentoo-dev 2007-01-25 01:33:51 UTC
*** Bug 163656 has been marked as a duplicate of this bug. ***