Re: [proaudio] wired-svn masked on AMD64 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
On Fri, 26 May 2006 09:26:26 -0700
"Mark Knecht" <markknecht@xxxxxxxxx> wrote:
> On 5/26/06, Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> wrote:
> > On Wed, 24 May 2006 17:26:39 -0700
> > "Mark Knecht" <markknecht@xxxxxxxxx> wrote:
> >
> > > On 5/24/06, Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> wrote:
> > > >
> > > > Hi Mark,
> > > >
> > > > sorry, vi with gentoo syntax adds only the keyword of one's own
> > > > arch, and i forgot to add ~amd64 to the ebuild.
> > > >
> > > > fixed in svn.
> > > >
> > > > Regards,
> > > > Tom
> > > >
> > > >
> > > Tom,
> > > No problem. I'm happy to try things out, report back, and then
> > > see if we can get them fixed.
> > >
> > > OK, with the update you just did the previous problems are
> > > gone. I got all the dependencies compiled without error but when
> > > wired-svn tried to build it failed with this problem:
> > >
> > > /bin/sh ../../../../libtool --tag=CC --mode=link
> > > x86_64-pc-linux-gnu-gcc -march =k8 -O2 -pipe -L/usr/lib64
> > > -pthread -L/usr/X11R6/lib64 -lwx_gtk2_xrc-2.6 -lw x_gtk2_html-2.6
> > > -lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base
> > > _net-2.6 -lwx_base-2.6 -o libWiredAkai.la -rpath /usr/lib64
> > > akai.lo list.lo
> > > x86_64-pc-linux-gnu-gcc -shared .libs/akai.o .libs/list.o
> > > -L/usr/lib64 -L/usr/ X11R6/lib64 -lwx_gtk2_xrc-2.6
> > > -lwx_gtk2_html-2.6 -lwx_gtk2_adv-2.6 -lwx_gtk2_cor e-2.6
> > > -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6 -march=k8
> > > -pthread -Wl, -soname -Wl,libWiredAkai.so.0
> > > -o .libs/libWiredAkai.so.0.0.0 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
> > > . libs/akai.o: relocation R_X86_64_32S against `a local symbol'
> > > can not be used wh en making a shared object; recompile with -fPIC
> > > .libs/akai.o: could not read symbols: Bad value
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [libWiredAkai.la] Error 1
> > > make[4]: Leaving directory
> > > `/var/tmp/portage/wired-svn-1/work/wired/wired/src/li
> > > bs/WiredAkai/src'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory
> > > `/var/tmp/portage/wired-svn-1/work/wired/wired/src/li
> > > bs/WiredAkai' make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory
> > > `/var/tmp/portage/wired-svn-1/work/wired/wired/src/li bs'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> > > `/var/tmp/portage/wired-svn-1/work/wired/wired/src' make: ***
> > > [all-recursive] Error 1
> > >
> > > !!! ERROR: media-sound/wired-svn-1 failed.
> > > !!! Function src_compile, Line 46, Exitcode 2
> > > !!! make failed
> > > !!! If you need support, post the topmost build error, NOT this
> > > status message.
> > >
> > > lightning ~ #
> > >
> > > Let me know when there is an update and I'll give it another
> > > try. If the problem is with something on my end let me know and
> > > I'll look into rebuilding that also.
> > >
> > > Cheers,
> > > Mark
> > >
> >
> > Hi Mark,
> >
> > do you have the pic useflag set?
> > looks like
> > USE="pic" emerge -av wired-svn
> > should do it.
> >
> > Tom
> >
> >
> Tom,
> I did not have pic set so I tried it. This uncovered a new problem
> shown below.
>
> My one comment about the pic flag would be that if an euild doesn't
> build with an option flag not set then that flag is not optional, is
> it? Seems that wired-svn needs some fixign which is not surprising for
> a development version I suppose.
>
> Here's the error with pic set:
>
> lightning ~ # emerge -pv wired-svn
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [ebuild N ] media-sound/wired-svn-1 -dssi +nls +pic -static 0 kB
> [2]
>
> Total size of downloads: 0 kB
> Portage overlays:
> [1] /usr/local/portage
> [2] /usr/portage/local/layman/pro-audio
> lightning ~ # emerge wired-svn
> <SNIP>
> x86_64-pc-linux-gnu-g++ -shared -nostdlib
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5 /../../../../lib64/crti.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/crtbeginS.o .l
> ibs/LoopSampler.o .libs/LoopSamplerView.o .libs/WaveLoop.o
> .libs/RulerLoop.o .li bs/Slice.o .libs/SliceGui.o .libs/BeatDialog.o
> .libs/LoopCursor.o .libs/Polyphon y.o .libs/Plugin.o .libs/WaveView.o
> .libs/WaveDrawer.o .libs/Settings.o .libs/Wa veFile.o -L/usr/lib64
> -L/usr/X11R6/lib64 -lwx_gtk2_xrc-2.6 -lwx_gtk2_html-2.6 -
> lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6
> -lwx_base_net-2.6 -lwx_bas e-2.6 /usr/lib64/libSoundTouch.a
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5 -L/usr
> /lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/lib
> -L/usr/li b/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64
> -L/usr/lib/gcc/x86_64-pc-linux -gnu/3.4.5/../../.. -L/lib/../lib64
> -L/usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-l
> inux-gnu/3.4.5/libstdc++.so -L/usr/x86_64-pc-linux-gnu/bin
> -L/usr/x86_64-pc-linu x-gnu/lib
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/../../../x86_64-pc-linux-gnu/lib -L
> /usr/lib/gcc/x86_64-pc-linux-gnu/../../../lib64 -lm -lc -lgcc_s
> /usr/lib/gcc/x86 _64-pc-linux-gnu/3.4.5/crtendS.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../.. /../lib64/crtn.o
> -pthread -Wl,-soname -Wl,libWiredLoopSampler.so.0 -o .libs/lib
> WiredLoopSampler.so.0.0.0
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
> / usr/lib64/libSoundTouch.a(SoundTouch.o): relocation R_X86_64_32
> against `a local symbol' can not be used when making a shared object;
> recompile with -fPIC
> /usr/lib64/libSoundTouch.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libWiredLoopSampler.la] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/wired-svn-1/work/wired/wired/src/pl
> ugins/loop_sampler'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/wired-svn-1/work/wired/wired/src/pl ugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/wired-svn-1/work/wired/wired/src' make: ***
> [all-recursive] Error 1
>
> !!! ERROR: media-sound/wired-svn-1 failed.
> !!! Function src_compile, Line 46, Exitcode 2
> !!! make failed
> !!! If you need support, post the topmost build error, NOT this
> status message.
>
> lightning ~ #
>
> Cheers,
> Mark
>
So, that did not help at all for some reasons.
The pic flag is optional, --with-pic, which then should compile -fPIC
only. You will find a lot of apps in portage that have it.
Anyways we could force this flag.. right.
Looking closer it seems libsoundtouch is built without -fPIC on your
system. Which version are you using? The one from the overlay has
--with-pic enabled if i see that right.
Tom