On Tue, Sep 06, 2011 at 12:42:09AM -0400, Sean McGovern wrote: > The Solaris linker will correctly mark an executable with each instruction > set it > encounters when building an executable. However, our libraries have their own > functionality and guards for processor-specific code. > > So, instead suppress creation of the hardware capabilities ELF section. > --- a/configure > +++ b/configure > @@ -2369,6 +2369,7 @@ case $target_os in > enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS" > network_extralibs="-lsocket -lnsl" > add_cppflags -D__EXTENSIONS__ > + echo "hwcap_1 = OVERRIDE;" > mapfile && add_ldflags -Wl,-M,mapfile > nm_opts='-P -g' > ;;
It seems to me this is specific to the Sun Studio compiler/linker. We have a section for that compiler in configure. Moving this block there would contain the hack to the only place where it is really needed. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
