Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10943 - libmpeg3 fails to emerge / link on alpha
Summary: libmpeg3 fails to emerge / link on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Alpha Linux
: High critical (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-18 22:12 UTC by Ted Goodridge, Jr
Modified: 2003-03-31 13:19 UTC (History)
2 users (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 Ted Goodridge, Jr 2002-11-18 22:12:51 UTC
During the last stages of emerge, libmpeg3 gets a linking error on alpha:

gcc -shared -o alpha/libmpeg3.so alpha/bitstream.o alpha/libmpeg3.o
alpha/mpeg3atrack.o alpha/mpeg3css.o alpha/mpeg3demux.o alpha/mpeg3ifo.o
alpha/mpeg3io.o alpha/mpeg3title.o alpha/mpeg3vtrack.o alpha/audio/ac3.o
alpha/audio/bit_allocation.o alpha/audio/dct.o alpha/audio/exponents.o
alpha/audio/header.o alpha/audio/layer2.o alpha/audio/layer3.o
alpha/audio/mantissa.o alpha/audio/mpeg3audio.o alpha/audio/pcm.o
alpha/audio/synthesizers.o alpha/audio/tables.o alpha/video/getpicture.o
alpha/video/headers.o alpha/video/idct.o alpha/video/macroblocks.o
alpha/video/mmxtest.o alpha/video/motion.o alpha/video/mpeg3video.o
alpha/video/output.o alpha/video/reconstruct.o alpha/video/seek.o
alpha/video/slice.o alpha/video/vlc.o alpha/workarounds.o
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2/../../../../alpha-unknown-linux-gnu/bin/ld:
alpha/audio/ac3.o: gp-relative relocation against dynamic symbol framesize_codes
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2/../../../../alpha-unknown-linux-gnu/bin/ld:
alpha/audio/ac3.o: gp-relative relocation against dynamic symbol framesize_codes
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2/../../../../alpha-unknown-linux-gnu/bin/ld:
alpha/audio/ac3.o: gp-relative relocation against dynamic symbol mpeg3_ac3_acmodes
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2/../../../../alpha-unknown-linux-gnu/bin/ld:
alpha/audio/ac3.o: gp-relative relocation against dynamic symbol mpeg3_ac3_acmodes
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2/../../../../alpha-unknown-linux-gnu/bin/ld:
alpha/audio/ac3.o: gp-relative relocation against dynamic symbol mpeg3_rematrix_band
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2/../../../../alpha-unknown-linux-gnu/bin/ld:
alpha/audio/ac3.o: gp-relative relocation against dynamic symbol mpeg3_rematrix_band
collect2: ld returned 1 exit status
make: *** [alpha/libmpeg3.so] Error 1

!!! ERROR: media-libs/libmpeg3-1.5-r1 failed.
!!! Function src_compile, Line 3, Exitcode 2
!!! (no error message)
Comment 1 Ted Goodridge, Jr 2003-03-21 20:15:07 UTC
adding:
  use alpha && append-flags "-fPIC"  
after the filter flags & adding KEYWORD=~alpha allows this to build properly
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-03-31 13:19:52 UTC
Fixed in cvs, thanks.