First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 4666
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Nicholas Jones (RETIRED) <carpaski@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ole Tange <bugs.gentoo.org@tange.dk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge-smpeg.gz output from emerge smpeg application/x-gzip Ole Tange 2002-07-07 18:49 0000 3.63 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 4666 depends on: Show dependency tree
Bug 4666 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-07 18:47 0000
See the attached log generated by: 
 
emerge smpeg

------- Comment #1 From Ole Tange 2002-07-07 18:49:16 0000 -------
Created an attachment (id=2021) [details]
output from emerge smpeg

------- Comment #2 From Matthew Kennedy (RETIRED) 2002-07-25 00:26:54 0000 -------
hi. I can't reproduce this. could you post your USE flags for us please?

Matt

------- Comment #3 From Matthew Kennedy (RETIRED) 2002-07-25 00:29:06 0000 -------
also, your CFLAGS/CXXFLAGS etc. thanks

------- Comment #4 From Daniel Mettler 2002-08-20 23:27:19 0000 -------
the same here with smpeg-0.4.4-r3 and gcc-3.2 (profile: default-x86-2.0):

gcc -march=athlon-tbird -O3 -pipe -I/usr/include/SDL -D_REENTRANT
-DTHREADED_AUDIO -I/usr/inc                                            
lude/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/X11R                                            
6/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -o .libs/plaympeg
plaympeg.o .li                                             bs/libsmpeg.so
-L/usr/lib -lSDL -lpthread -lm -lSDL -lpthread -lm -lSDL -lpthread -lm -L/usr/ 
                                           lib -Wl,-rpath,/usr/lib -lSDL
-lpthread -lm
.libs/libsmpeg.so: undefined reference to `operator new[](unsigned)'
.libs/libsmpeg.so: undefined reference to `operator delete(void*)'
.libs/libsmpeg.so: undefined reference to `operator delete[](void*)'
.libs/libsmpeg.so: undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status
make[1]: *** [plaympeg] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/smpeg-0.4.4-r3/work/smpeg-0.4.4'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/media-libs/smpeg/smpeg-0.4.4-r3.ebuild .
Failed to emerge package media-libs/smpeg-0.4.4-r3

i have not attempted to solve this yet.

my flags:

CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS=${CFLAGS}
default USE flags of profile default-x86-2.0

------- Comment #5 From Matthew Kennedy (RETIRED) 2002-08-21 09:28:59 0000 -------
hi i still cannot reproduce this with gcc3.2, default-x86-2.0 profile with my
CFLAGS as "-march=pentium3 -O3 -pipe". I can reproduce this problem exactly if I
choose "-march=athlon-tbird -O3 -pipe".

------- Comment #6 From Matthew Kennedy (RETIRED) 2002-08-21 09:32:36 0000 -------
eww... now if i try to re-emerge it with my original CFLAGS/CXXFLAGS I get the
same problem. heh.

------- Comment #7 From Ole Tange 2002-08-21 19:25:22 0000 -------
I just retried: The bug is still there.

# grep -v # /etc/make.conf
GENTOO_MIRRORS="http://mirrors.sunsite.dk/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
USE="mmx sse apm pcmcia pnp trusted gphoto2 cups slp X opengl xv kde qt qtmt
arts evo sdl gd gif jpeg png tiff avi mpeg quicktime alsa dvd xmms oggvorbis
flash encode ipv6 pam ssl crypt imap ldap tcpd mozilla mozirc spell truetype xml
xml2 pdflib perl berkdb mysql postgres odbc innodb gdbm afs"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O2 -pipe"
CXXFLAGS="-mcpu=i686 -O2 -pipe"
CC=gcc-3.1
CXX=g++-3.1
GCJ=gcj-3.1

------- Comment #8 From Matthew Kennedy (RETIRED) 2002-08-22 01:41:22 0000 -------
Ole and Daniel,

I believe I've fixed this problem in -r4. Please test and let me know how it goes.

Thanks for the report,
Matt

------- Comment #9 From Ole Tange 2002-08-22 02:31:50 0000 -------
Nope. Same problem. Same output.

But I think I know what the problem is:

CXX=g++-3.1 but smpeg is using g++ in some places. g++ is _not_ 3.1. It seems
smpeg is not respcting CXX.

I have tried:
# mv g++ g++-org
# cp g++-3.1 g++
# mv gcc gcc-org
# cp gcc-3.1 gcc

Now it emerged without problems (whether it *works* remains to be seen).

------- Comment #10 From Daniel Mettler 2002-08-22 05:38:31 0000 -------
yep, now it works fine here :)

------- Comment #11 From Ole Tange 2002-08-28 15:45:02 0000 -------
The bug is the same problem as in bug 4666 - just for a different package. 

------- Comment #12 From Nicholas Jones (RETIRED) 2002-09-24 23:16:28 0000 -------
This was fixed in bug #5558

First Last Prev Next    No search results available      Search page      Enter new bug