| Summary: | emerge of audacity fails (hardened issue) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Attila Stehr <as.gentoo> |
| Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | hardened, ifreecarve |
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Attila Stehr
2006-01-03 18:09:52 UTC
CC'ing hardened on this as this is a hardened issue. Try forcing -fPIC on the obj/AColor.c when it's compiled. I tried to do so by adding -fPIC to my CFLAGS in the make.conf but that didn't help. Probably you wanted mo to do sth. else. Please tell me how to force -fPIC on a C file when it's compiled. Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe -mmmx -msse -msse2 -m3dnow -ftracer -funit-at-a-time -funswitch-loops " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe -mmmx -msse -msse2 -m3dnow -ftracer -funit-at-a-time -funswitch-loops " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X aalib acpi alsa amd64 apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl curlwrappers dga directfb divx4linux dri dts eds emacs emacs-w3 emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif glut gmp gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 isdnlog jack java jpeg jpeg2k lcms libwww lm_sensors lua lzw lzw-tiff mad matroska mng motif mp3 mpeg mysql mysqli mythtv ncurses nls ocaml offensive ogg openal opengl pam pcre pdflib perl php png pppd python qt quicktime readline samba sdl shorten slang spell ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY the error: x86_64-pc-linux-gnu-g++ -o ../audacity obj/AColor.o obj/AStatus.o obj/AboutDialog.o obj/AudacityApp.o obj/AudioIO.o obj/Benchmark.o obj/ControlToolBar.o obj/DirManager.o obj/Envelope.o obj/EditToolBar.o obj/FFT.o obj/FormatSelection.o obj/FreqWindow.o obj/Help.o obj/HistoryWindow.o obj/ImageManipulation.o obj/Internat.o obj/LabelTrack.o obj/Languages.o obj/LangChoice.o obj/Legacy.o obj/Menus.o obj/MeterToolBar.o obj/Mix.o obj/MixerToolBar.o obj/NoteTrack.o obj/PitchName.o obj/PlatformCompatibility.o obj/Project.o obj/Resample.o obj/RingBuffer.o obj/Sequence.o obj/Spectrum.o obj/Tags.o obj/Track.o obj/TrackArtist.o obj/TrackPanel.o obj/ToolBar.o obj/UndoManager.o obj/WaveTrack.o obj/TimeTrack.o obj/commands/CommandManager.o obj/commands/Keyboard.o obj/effects/Effect.o obj/effects/SimpleMono.o obj/effects/TwoPassSimpleMono.o obj/effects/SimplePairedTwoTrack.o obj/effects/SoundTouchEffect.o obj/effects/LoadEffects.o obj/effects/Amplify.o obj/effects/BassBoost.o obj/effects/ChangePitch.o obj/effects/ChangeSpeed.o obj/effects/ChangeTempo.o obj/effects/ClickRemoval.o obj/effects/Compressor.o obj/effects/Echo.o obj/effects/Equalization.o obj/effects/Fade.o obj/effects/Filter.o obj/effects/Invert.o obj/effects/Noise.o obj/effects/NoiseRemoval.o obj/effects/Normalize.o obj/effects/Phaser.o obj/effects/Repeat.o obj/effects/Reverse.o obj/effects/Silence.o obj/effects/ToneGen.o obj/effects/Wahwah.o obj/export/Export.o obj/export/ExportMultiple.o obj/export/ExportMP3.o obj/export/ExportOGG.o obj/export/ExportPCM.o obj/export/ExportCL.o obj/import/Import.o obj/import/ImportLOF.o obj/import/ImportMIDI.o obj/import/ImportMP3.o obj/import/ImportOGG.o obj/import/ImportPCM.o obj/import/ImportRaw.o obj/import/RawAudioGuess.o obj/prefs/PrefsDialog.o obj/prefs/AudioIOPrefs.o obj/prefs/QualityPrefs.o obj/prefs/FileFormatPrefs.o obj/prefs/DirectoriesPrefs.o obj/prefs/GUIPrefs.o obj/prefs/KeyConfigPrefs.o obj/prefs/MousePrefs.o obj/prefs/SpectrumPrefs.o obj/widgets/AButton.o obj/widgets/ASlider.o obj/widgets/Meter.o obj/widgets/Ruler.o obj/widgets/Warning.o obj/xml/XMLFileReader.o obj/xml/XMLTagHandler.o obj/effects/nyquist/Nyquist.o obj/effects/nyquist/LoadNyquist.o obj/effects/ladspa/LoadLadspa.o obj/effects/ladspa/LadspaEffect.o ../lib-src/expat/expat.a ../lib-src/allegro/allegro.a ../lib-src/soundtouch/source/SoundTouch/.libs/libSoundTouch.a ../lib-src/libnyquist/libnyquist.a ../lib-src/libresample/libresample.a ../lib-src/portaudio/pa_unix_oss/portaudio.a ../lib-src/portmixer/px_unix_oss/portmixer.a libaudacity.a -lsndfile -lmad -lvorbisenc -lvorbisfile -lvorbis -logg -lid3tag -L/usr/lib64 -pthread -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -lwx_gtk2-2.4 -lpangox-1.0 /usr/lib64/libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto' collect2: ld returned 1 exit status make[1]: *** [../audacity] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.4b-r1/work/audacity-src-1.2.4b/src' make: *** [audacity] Error 2 !!! ERROR: media-sound/audacity-1.2.4b-r1 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. i am in the process of an "emerge world" to update wxGTK, i'll let you know if that fixes it. is this still an issue with 1.3.2-r1 ? I can't compile this version of libsoundtouch with sse use flag set. Error messages can be found in this thread http://forums.gentoo.org/viewtopic-t-494431-highlight-.html (tekknokrat) oops wrong bug id! (In reply to comment #5) > is this still an issue with 1.3.2-r1 ? > Indeed, no response in 6 months. i just did an emerge of media-sound/audacity-1.3.3 and it compiled fine. |