On Wed, Dec 28, 2005 at 10:03:55AM +0100, Ralf Wildenhues wrote:
> Hi Kurt,
> 
> > I'm not really sure why this breaks anything though.  My guess
> > would be that you're removing paths it needs.
> 
> I'm not convinced yet that this is the cause for the breakage.
> It may well be, though.
> 
> In any case, it's a system-specific patch; it was not accepted into
> GNU libtool simply because it's not valid for all GNU/Linux
> distributions.  Don't blame libtool for their non-uniformity.
> 
> Since I don't have a Debian amd64 system for testing, please rerun
> the build, post the
>   ./libtool --mode=link
> command, and all of its output, with --debug added.  Please also post

/bin/sh ./libtool --mode=link --debug x86_64-linux-gnu-gcc -Wall  -Wall -g -O2  
-lsysfs -o libcpufreq.la -rpath /usr/lib -version-info 0:0:0  -lsysfs 
cpufreq.lo sysfs.lo proc.lo

See libtool.debug attachment.

>   ./libtool --config

See libtool.config attachment.

I've also attached the /usr/lib/libsysfs.la file.

Note that the shared library is installed in /lib, but the rest
are in /usr/lib.

> I assume that I can get the source of the corresponding package
> (the exact one please!) from these URLs, right?
> http://ftp.debian.org/debian/pool/main/c/cpufrequtils/cpufrequtils_0.4.orig.tar.gz
> http://ftp.debian.org/debian/pool/main/c/cpufrequtils/cpufrequtils_0.4-1.diff.gz

Yes, those are the correct files.



Kurt

libtool: enabling shell trace mode
+ preserve_args=' --debug'
+ test 16 -gt 0
+ arg=x86_64-linux-gnu-gcc
+ shift
+ case $arg in
+ optarg=
+ test -n ''
+ case $arg in
+ nonopt=x86_64-linux-gnu-gcc
+ break
+ test -n ''
+ exec_cmd=
+ test -z ''
+ test -z link
+ test -n ''
+ generic_help='Try `libtool --help'\'' for more information.'
+ help='Try `libtool --help --mode=link'\'' for more information.'
+ case $mode in
+ modename='libtool: link'
+ case $host in
+ allow_undefined=yes
+ libtool_args=x86_64-linux-gnu-gcc
+ base_compile='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo sysfs.lo 
proc.lo'
+ compile_command=x86_64-linux-gnu-gcc
+ finalize_command=x86_64-linux-gnu-gcc
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
++ pwd
+ lib_search_path=/usr/src/cpufrequtils-0.4/libcpufreq
+ inst_prefix_dir=
+ avoid_version=no
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ non_pic_objects=
+ precious_files_regex=
+ prefer_static_libs=no
+ preload=no
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+ func_infer_tag x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo sysfs.lo 
proc.lo
+ test -n ' CXX'
+ test -z ''
+ CC_quoted=
+ for arg in '$CC'
+ case $arg in
+ CC_quoted=' x86_64-linux-gnu-gcc'
+ case $@ in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ test -n ''
+ test 15 -gt 0
+ arg=-Wall
+ shift
+ case $arg in
+ qarg=-Wall
+ libtool_args='x86_64-linux-gnu-gcc -Wall'
+ test -n ''
+ prevarg=-Wall
+ case $arg in
++ echo X-Wall
++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ arg=-Wall
+ case $arg in
+ test -n -Wall
+ compile_command='x86_64-linux-gnu-gcc -Wall'
+ finalize_command='x86_64-linux-gnu-gcc -Wall'
+ test 14 -gt 0
+ arg=-Wall
+ shift
+ case $arg in
+ qarg=-Wall
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall'
+ test -n ''
+ prevarg=-Wall
+ case $arg in
++ echo X-Wall
++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ arg=-Wall
+ case $arg in
+ test -n -Wall
+ compile_command='x86_64-linux-gnu-gcc -Wall -Wall'
+ finalize_command='x86_64-linux-gnu-gcc -Wall -Wall'
+ test 13 -gt 0
+ arg=-g
+ shift
+ case $arg in
+ qarg=-g
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g'
+ test -n ''
+ prevarg=-g
+ case $arg in
++ echo X-g
++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ arg=-g
+ case $arg in
+ test -n -g
+ compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g'
+ finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g'
+ test 12 -gt 0
+ arg=-O2
+ shift
+ case $arg in
+ qarg=-O2
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2'
+ test -n ''
+ prevarg=-O2
+ case $arg in
++ echo X-O2
++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ arg=-O2
+ case $arg in
+ test -n -O2
+ compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2'
+ finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2'
+ test 11 -gt 0
+ arg=-lsysfs
+ shift
+ case $arg in
+ qarg=-lsysfs
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs'
+ test -n ''
+ prevarg=-lsysfs
+ case $arg in
+ test X-lsysfs = X-lc
+ test X-lsysfs = X-lm
+ test X-lsysfs = X-lc_r
+ deplibs=' -lsysfs'
+ continue
+ test 10 -gt 0
+ arg=-o
+ shift
+ case $arg in
+ qarg=-o
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o'
+ test -n ''
+ prevarg=-o
+ case $arg in
+ prev=output
+ test -n -o
+ compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o'
+ finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o'
+ test 9 -gt 0
+ arg=libcpufreq.la
+ shift
+ case $arg in
+ qarg=libcpufreq.la
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la'
+ test -n output
+ case $prev in
+ compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@'
+ finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@'
+ case $prev in
+ eval 'output="$arg"'
++ output=libcpufreq.la
+ prev=
+ continue
+ test 8 -gt 0
+ arg=-rpath
+ shift
+ case $arg in
+ qarg=-rpath
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath'
+ test -n ''
+ prevarg=-rpath
+ case $arg in
+ prev=rpath
+ continue
+ test 7 -gt 0
+ arg=/usr/lib
+ shift
+ case $arg in
+ qarg=/usr/lib
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib'
+ test -n rpath
+ case $prev in
+ case $prev in
+ case $arg in
+ test rpath = rpath
+ case "$rpath " in
+ rpath=' /usr/lib'
+ prev=
+ continue
+ test 6 -gt 0
+ arg=-version-info
+ shift
+ case $arg in
+ qarg=-version-info
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib -version-info'
+ test -n ''
+ prevarg=-version-info
+ case $arg in
+ prev=vinfo
+ continue
+ test 5 -gt 0
+ arg=0:0:0
+ shift
+ case $arg in
+ qarg=0:0:0
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib -version-info 0:0:0'
+ test -n vinfo
+ case $prev in
+ case $prev in
+ eval 'vinfo="$arg"'
++ vinfo=0:0:0
+ prev=
+ continue
+ test 4 -gt 0
+ arg=-lsysfs
+ shift
+ case $arg in
+ qarg=-lsysfs
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs'
+ test -n ''
+ prevarg=-lsysfs
+ case $arg in
+ test X-lsysfs = X-lc
+ test X-lsysfs = X-lm
+ test X-lsysfs = X-lc_r
+ deplibs=' -lsysfs -lsysfs'
+ continue
+ test 3 -gt 0
+ arg=cpufreq.lo
+ shift
+ case $arg in
+ qarg=cpufreq.lo
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo'
+ test -n ''
+ prevarg=cpufreq.lo
+ case $arg in
+ pic_object=
+ non_pic_object=
+ case $arg in
+ . ./cpufreq.lo
++ pic_object=.libs/cpufreq.o
++ non_pic_object=none
+ test -z .libs/cpufreq.o
+ test -z none
+ test .libs/cpufreq.o = none
++ echo Xcpufreq.lo
++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%'
+ xdir=cpufreq.lo
+ test Xcpufreq.lo = Xcpufreq.lo
+ xdir=
+ test .libs/cpufreq.o '!=' none
+ pic_object=.libs/cpufreq.o
+ test '' = dlfiles
+ test '' = dlprefiles
+ libobjs=' .libs/cpufreq.o'
+ arg=.libs/cpufreq.o
+ test none '!=' none
+ test -n .libs/cpufreq.o
+ compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ 
.libs/cpufreq.o'
+ finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ 
.libs/cpufreq.o'
+ test 2 -gt 0
+ arg=sysfs.lo
+ shift
+ case $arg in
+ qarg=sysfs.lo
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo sysfs.lo'
+ test -n ''
+ prevarg=sysfs.lo
+ case $arg in
+ pic_object=
+ non_pic_object=
+ case $arg in
+ . ./sysfs.lo
++ pic_object=.libs/sysfs.o
++ non_pic_object=none
+ test -z .libs/sysfs.o
+ test -z none
+ test .libs/sysfs.o = none
++ echo Xsysfs.lo
++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%'
+ xdir=sysfs.lo
+ test Xsysfs.lo = Xsysfs.lo
+ xdir=
+ test .libs/sysfs.o '!=' none
+ pic_object=.libs/sysfs.o
+ test '' = dlfiles
+ test '' = dlprefiles
+ libobjs=' .libs/cpufreq.o .libs/sysfs.o'
+ arg=.libs/sysfs.o
+ test none '!=' none
+ test -n .libs/sysfs.o
+ compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ 
.libs/cpufreq.o .libs/sysfs.o'
+ finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ 
.libs/cpufreq.o .libs/sysfs.o'
+ test 1 -gt 0
+ arg=proc.lo
+ shift
+ case $arg in
+ qarg=proc.lo
+ libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o 
libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo sysfs.lo 
proc.lo'
+ test -n ''
+ prevarg=proc.lo
+ case $arg in
+ pic_object=
+ non_pic_object=
+ case $arg in
+ . ./proc.lo
++ pic_object=.libs/proc.o
++ non_pic_object=none
+ test -z .libs/proc.o
+ test -z none
+ test .libs/proc.o = none
++ echo Xproc.lo
++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%'
+ xdir=proc.lo
+ test Xproc.lo = Xproc.lo
+ xdir=
+ test .libs/proc.o '!=' none
+ pic_object=.libs/proc.o
+ test '' = dlfiles
+ test '' = dlprefiles
+ libobjs=' .libs/cpufreq.o .libs/sysfs.o .libs/proc.o'
+ arg=.libs/proc.o
+ test none '!=' none
+ test -n .libs/proc.o
+ compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ 
.libs/cpufreq.o .libs/sysfs.o .libs/proc.o'
+ finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ 
.libs/cpufreq.o .libs/sysfs.o .libs/proc.o'
+ test 0 -gt 0
+ test -n ''
+ test no = yes
+ oldlibs=
++ echo Xlibcpufreq.la
++ /bin/sed -e '1s/^X//' -e 's%^.*/%%'
+ outputname=libcpufreq.la
+ libobjs_save=' .libs/cpufreq.o .libs/sysfs.o .libs/proc.o'
+ test -n LD_LIBRARY_PATH
+ eval 'shlib_search_path=`$echo' '"X${LD_LIBRARY_PATH}"' '|' '$Xsed' -e 
''\''s/:/' '/g'\''`'
+++ echo X
+++ /bin/sed -e '1s/^X//' -e 's/:/ /g'
++ shlib_search_path=
+ eval 'sys_lib_search_path="/lib64' /usr/lib64 '/usr/local/lib64"'
++ sys_lib_search_path='/lib64 /usr/lib64 /usr/local/lib64'
+ eval 'sys_lib_dlsearch_path="/lib64' '/usr/lib64"'
++ sys_lib_dlsearch_path='/lib64 /usr/lib64'
++ echo Xlibcpufreq.la
++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%'
+ output_objdir=libcpufreq.la
+ test Xlibcpufreq.la = Xlibcpufreq.la
+ output_objdir=.libs
+ test '!' -d .libs
+ case $output in
+ linkmode=lib
+ case $host in
+ duplicate_compiler_generated_deps=
+ specialdeplibs=
+ libs=
+ for deplib in '$deplibs'
+ test X = Xyes
+ libs=' -lsysfs'
+ for deplib in '$deplibs'
+ test X = Xyes
+ libs=' -lsysfs -lsysfs'
+ test lib = lib
+ libs='  -lsysfs -lsysfs  '
+ pre_post_deps=
+ test X = Xyes
+ pre_post_deps=
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no
+ notinst_deplibs=
+ notinst_path=
+ case $linkmode in
+ passes='conv link'
+ for pass in '$passes'
+ test lib,conv = lib,link
+ test lib,conv = prog,scan
+ test lib = prog
+ test conv = dlopen
+ for deplib in '$libs'
+ lib=
+ found=no
+ case $deplib in
+ test lib '!=' lib
++ echo X-lsysfs
++ /bin/sed -e '1s/^X//' -e 's/^-l//'
+ name=sysfs
+ for searchdir in '$newlib_search_path' '$lib_search_path' 
'$sys_lib_search_path' '$shlib_search_path'
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a
+ for searchdir in '$newlib_search_path' '$lib_search_path' 
'$sys_lib_search_path' '$shlib_search_path'
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/lib64/libsysfs.la
+ test -f /lib64/libsysfs.la
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/lib64/libsysfs.so
+ test -f /lib64/libsysfs.so
+ test .so = .la
+ found=no
+ break 2
+ test no '!=' yes
+ test lib,conv = prog,link
+ deplibs='-lsysfs '
+ test lib = lib
+ newdependency_libs='-lsysfs '
+ continue
+ for deplib in '$libs'
+ lib=
+ found=no
+ case $deplib in
+ test lib '!=' lib
++ echo X-lsysfs
++ /bin/sed -e '1s/^X//' -e 's/^-l//'
+ name=sysfs
+ for searchdir in '$newlib_search_path' '$lib_search_path' 
'$sys_lib_search_path' '$shlib_search_path'
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a
+ for searchdir in '$newlib_search_path' '$lib_search_path' 
'$sys_lib_search_path' '$shlib_search_path'
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/lib64/libsysfs.la
+ test -f /lib64/libsysfs.la
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/lib64/libsysfs.so
+ test -f /lib64/libsysfs.so
+ test .so = .la
+ found=no
+ break 2
+ test no '!=' yes
+ test lib,conv = prog,link
+ deplibs='-lsysfs -lsysfs '
+ test lib = lib
+ newdependency_libs='-lsysfs -lsysfs '
+ continue
+ dependency_libs='-lsysfs -lsysfs '
+ test conv = dlpreopen
+ test conv '!=' dlopen
+ test conv '!=' conv
+ test lib,conv '!=' prog,link
+ vars=deplibs
+ for var in '$vars' dependency_libs
+ eval 'tmp_libs="$deplibs"'
++ tmp_libs='-lsysfs -lsysfs '
+ new_libs=
+ for deplib in '$tmp_libs'
+ case $deplib in
+ case " $specialdeplibs " in
+ case " $new_libs " in
+ new_libs='-lsysfs '
+ for deplib in '$tmp_libs'
+ case $deplib in
+ case " $specialdeplibs " in
+ case " $new_libs " in
+ tmp_libs=
+ for deplib in '$new_libs'
+ case $deplib in
+ tmp_libs=' -lsysfs'
+ eval 'deplibs="' '-lsysfs"'
++ deplibs=' -lsysfs'
+ for var in '$vars' dependency_libs
+ eval 'tmp_libs="$dependency_libs"'
++ tmp_libs='-lsysfs -lsysfs '
+ new_libs=
+ for deplib in '$tmp_libs'
+ case $deplib in
+ case " $specialdeplibs " in
+ case " $new_libs " in
+ new_libs='-lsysfs '
+ for deplib in '$tmp_libs'
+ case $deplib in
+ case " $specialdeplibs " in
+ case " $new_libs " in
+ tmp_libs=
+ for deplib in '$new_libs'
+ case $deplib in
+ tmp_libs=' -lsysfs'
+ eval 'dependency_libs="' '-lsysfs"'
++ dependency_libs=' -lsysfs'
+ tmp_libs=
+ for i in '$dependency_libs'
+ case " $predeps $postdeps $compiler_lib_search_path " in
+ test -n -lsysfs
+ tmp_libs=' -lsysfs'
+ dependency_libs=' -lsysfs'
+ for pass in '$passes'
+ test lib,link = lib,link
+ libs=' -lsysfs'
+ deplibs=
+ test lib = prog
+ test link = dlopen
+ for deplib in '$libs'
+ lib=
+ found=no
+ case $deplib in
+ test lib '!=' lib
++ echo X-lsysfs
++ /bin/sed -e '1s/^X//' -e 's/^-l//'
+ name=sysfs
+ for searchdir in '$newlib_search_path' '$lib_search_path' 
'$sys_lib_search_path' '$shlib_search_path'
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a
+ test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a
+ for searchdir in '$newlib_search_path' '$lib_search_path' 
'$sys_lib_search_path' '$shlib_search_path'
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/lib64/libsysfs.la
+ test -f /lib64/libsysfs.la
+ for search_ext in .la '$std_shrext' .so .a
+ lib=/lib64/libsysfs.so
+ test -f /lib64/libsysfs.so
+ test .so = .la
+ found=no
+ break 2
+ test no '!=' yes
+ test lib,link = prog,link
+ deplibs='-lsysfs '
+ test lib = lib
+ newdependency_libs='-lsysfs -lsysfs -lsysfs '
+ continue
+ dependency_libs='-lsysfs -lsysfs -lsysfs '
+ test link = dlpreopen
+ test link '!=' dlopen
+ test link '!=' conv
+ lib_search_path=
+ newlib_search_path=
+ test lib,link '!=' prog,link
+ vars=deplibs
+ for var in '$vars' dependency_libs
+ eval 'tmp_libs="$deplibs"'
++ tmp_libs='-lsysfs '
+ new_libs=
+ for deplib in '$tmp_libs'
+ case $deplib in
+ case " $specialdeplibs " in
+ case " $new_libs " in
+ new_libs='-lsysfs '
+ tmp_libs=
+ for deplib in '$new_libs'
+ case $deplib in
+ tmp_libs=' -lsysfs'
+ eval 'deplibs="' '-lsysfs"'
++ deplibs=' -lsysfs'
+ for var in '$vars' dependency_libs
+ eval 'tmp_libs="$dependency_libs"'
++ tmp_libs='-lsysfs -lsysfs -lsysfs '
+ new_libs=
+ for deplib in '$tmp_libs'
+ case $deplib in
+ case " $specialdeplibs " in
+ case " $new_libs " in
+ new_libs='-lsysfs '
+ for deplib in '$tmp_libs'
+ case $deplib in
+ case " $specialdeplibs " in
+ case " $new_libs " in
+ for deplib in '$tmp_libs'
+ case $deplib in
+ case " $specialdeplibs " in
+ case " $new_libs " in
+ tmp_libs=
+ for deplib in '$new_libs'
+ case $deplib in
+ tmp_libs=' -lsysfs'
+ eval 'dependency_libs="' '-lsysfs"'
++ dependency_libs=' -lsysfs'
+ tmp_libs=
+ for i in '$dependency_libs'
+ case " $predeps $postdeps $compiler_lib_search_path " in
+ test -n -lsysfs
+ tmp_libs=' -lsysfs'
+ dependency_libs=' -lsysfs'
+ test lib = prog
+ case $linkmode in
+ case $outputname in
++ echo Xlibcpufreq.la
++ /bin/sed -e '1s/^X//' -e 's/\.la$//' -e 's/^lib//'
+ name=cpufreq
+ eval 'shared_ext=".so"'
++ shared_ext=.so
+ eval 'libname="lib$name"'
++ libname=libcpufreq
+ test -n ''
+ test no '!=' no
+ set dummy /usr/lib
+ test 2 -gt 2
+ install_libdir=/usr/lib
+ oldlibs=
+ test -z ' /usr/lib'
+ save_ifs='    
'
+ IFS=:
+ set dummy 0 0 0 0 0 0
+ IFS='         
'
+ test -n ''
+ case $vinfo_number in
+ current=0
+ revision=0
+ age=0
+ case $current in
+ case $revision in
+ case $age in
+ test 0 -gt 0
+ major=
+ versuffix=
+ verstring=
+ case $version_type in
++ expr 0 - 0
+ major=.0
+ versuffix=.0.0.0
+ test -z 0:0:0
+ test no = yes
+ test yes = yes
+ test '' = unsupported
+ test link '!=' relink
+ removelist=
++ echo '.libs/*'
+ tempremovelist='.libs/*'
+ for p in '$tempremovelist'
+ case $p in
+ for p in '$tempremovelist'
+ case $p in
+ for p in '$tempremovelist'
+ case $p in
+ test -n ''
+ test no = yes
+ test -n ''
+ old_dlfiles=
+ dlfiles=
+ old_dlprefiles=
+ dlprefiles=
+ test yes = yes
+ test -n ' /usr/lib'
+ case $host in
+ test no = yes
+ name_save=cpufreq
+ libname_save=libcpufreq
+ release_save=
+ versuffix_save=.0.0.0
+ major_save=.0
+ release=
+ versuffix=
+ major=
+ newdeplibs=
+ droppeddeps=no
+ case $deplibs_check_method in
+ newdeplibs=' -lsysfs'
+ versuffix=.0.0.0
+ major=.0
+ release=
+ libname=libcpufreq
+ name=cpufreq
+ case $host in
+ test no = yes
+ deplibs=' -lsysfs'
+ library_names=
+ old_library=
+ dlname=
+ test yes = yes
+ test yes = yes
+ hardcode_libdirs=
+ dep_rpath=
+ rpath=
+ test link '!=' relink
+ rpath=
+ test -n ''
+ test -n LD_RUN_PATH
+ test -n ''
+ test -n ''
+ shlibpath=
+ test link '!=' relink
+ shlibpath=
+ test -n ''
+ eval 'shared_ext=".so"'
++ shared_ext=.so
+ eval 'library_names="${libname}${release}${shared_ext}$versuffix' 
'${libname}${release}${shared_ext}$major' '$libname${shared_ext}"'
++ library_names='libcpufreq.so.0.0.0 libcpufreq.so.0 libcpufreq.so'
+ set dummy libcpufreq.so.0.0.0 libcpufreq.so.0 libcpufreq.so
+ realname=libcpufreq.so.0.0.0
+ shift
+ shift
+ test -n '${libname}${release}${shared_ext}$major'
+ eval 'soname="${libname}${release}${shared_ext}$major"'
++ soname=libcpufreq.so.0
+ test -z ''
+ dlname=libcpufreq.so.0
+ lib=.libs/libcpufreq.so.0.0.0
+ for link in '"$@"'
+ linknames=' libcpufreq.so.0'
+ for link in '"$@"'
+ linknames=' libcpufreq.so.0 libcpufreq.so'
+ test -z ' -fPIC -DPIC'
+ test -z ''
+ test no = yes
+ test -n ''
+ test -n ''
+ tmp_deplibs=
+ for test_deplib in '$deplibs'
+ case " $convenience " in
+ tmp_deplibs=' -lsysfs'
+ deplibs=' -lsysfs'
+ test -n ''
+ test no = yes
+ test link = relink
+ test no = yes
+ test -n ''
+ eval 'test_cmds="$CC' -shared '$libobjs' '$deplibs' '$compiler_flags' 
'${wl}-soname' '$wl$soname' -o '$lib"'
++ test_cmds='x86_64-linux-gnu-gcc -shared  .libs/cpufreq.o .libs/sysfs.o 
.libs/proc.o  -lsysfs  -Wl,-soname -Wl,libcpufreq.so.0 -o 
.libs/libcpufreq.so.0.0.0'
+ cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname 
-o $lib'
+ test X '!=' X:
++ expr 'Xx86_64-linux-gnu-gcc -shared  .libs/cpufreq.o .libs/sysfs.o 
.libs/proc.o  -lsysfs  -Wl,-soname -Wl,libcpufreq.so.0 -o 
.libs/libcpufreq.so.0.0.0' : '.*'
+ len=144
+ test 144 -le 32768
+ :
+ save_ifs='    
'
+ IFS='~'
+ for cmd in '$cmds'
+ IFS='         
'
+ eval 'cmd="$CC' -shared '$libobjs' '$deplibs' '$compiler_flags' 
'${wl}-soname' '$wl$soname' -o '$lib"'
++ cmd='x86_64-linux-gnu-gcc -shared  .libs/cpufreq.o .libs/sysfs.o 
.libs/proc.o  -lsysfs  -Wl,-soname -Wl,libcpufreq.so.0 -o 
.libs/libcpufreq.so.0.0.0'
+ echo 'x86_64-linux-gnu-gcc -shared  .libs/cpufreq.o .libs/sysfs.o 
.libs/proc.o  -lsysfs  -Wl,-soname -Wl,libcpufreq.so.0 -o 
.libs/libcpufreq.so.0.0.0'
x86_64-linux-gnu-gcc -shared  .libs/cpufreq.o .libs/sysfs.o .libs/proc.o  
-lsysfs  -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0
+ eval 'x86_64-linux-gnu-gcc -shared  .libs/cpufreq.o .libs/sysfs.o 
.libs/proc.o  -lsysfs  -Wl,-soname -Wl,libcpufreq.so.0 -o 
.libs/libcpufreq.so.0.0.0'
++ x86_64-linux-gnu-gcc -shared .libs/cpufreq.o .libs/sysfs.o .libs/proc.o 
-lsysfs -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/libsysfs.a(libsysfs_la-sysfs_utils.o):
 relocation R_X86_64_32 against `a local symbol' can not be used when making a 
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/libsysfs.a: could not 
read symbols: Bad value
collect2: ld returned 1 exit status
+ lt_exit=1
+ test link = relink
+ exit 1
# Libtool was configured on host intrepid:

# Shell to use when invoking shell scripts.
SHELL="/bin/sh"

# Whether or not to build shared libraries.
build_libtool_libs=yes

# Whether or not to build static libraries.
build_old_libs=no

# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=no

# Whether or not to disallow shared libs when runtime libs are static
allow_libtool_libs_with_static_runtimes=no

# Whether or not to optimize for fast installation.
fast_install=yes

# The host system.
host_alias=x86_64-linux-gnu
host=x86_64-pc-linux-gnu
host_os=linux-gnu

# The build system.
build_alias=x86_64-linux-gnu
build=x86_64-pc-linux-gnu
build_os=linux-gnu

# An echo program that does not interpret backslashes.
echo="echo"

# The archiver.
AR="ar"
AR_FLAGS="cru"

# A C compiler.
LTCC="x86_64-linux-gnu-gcc"

# A language-specific compiler.
CC="x86_64-linux-gnu-gcc"

# Is the compiler the GNU C compiler?
with_gcc=yes

# An ERE matcher.
EGREP="grep -E"

# The linker used to build libraries.
LD="/usr/bin/ld -m elf_x86_64"

# Whether we need hard or soft links.
LN_S="ln -s"

# A BSD-compatible nm program.
NM="nm"

# A symbol stripping program
STRIP="strip"

# Used to examine libraries when file_magic_cmd begins "file"
MAGIC_CMD=file

# Used on cygwin: DLL creation program.
DLLTOOL="dlltool"

# Used on cygwin: object dumper.
OBJDUMP="objdump"

# Used on cygwin: assembler.
AS="as"

# The name of the directory that contains temporary libtool files.
objdir=.libs

# How to create reloadable object files.
reload_flag=" -r"
reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"

# How to pass a linker flag through the compiler.
wl="-Wl,"

# Object file suffix (normally "o").
objext="o"

# Old archive suffix (normally "a").
libext="a"

# Shared library suffix (normally ".so").
shrext_cmds='.so'

# Executable file suffix (normally "").
exeext=""

# Additional compiler flags for building library objects.
pic_flag=" -fPIC -DPIC"
pic_mode=default

# What is the maximum length of a command?
max_cmd_len=32768

# Does compiler simultaneously support -c and -o options?
compiler_c_o="yes"

# Must we lock files when doing compilation?
need_locks="no"

# Do we need the lib prefix for modules?
need_lib_prefix=no

# Do we need a version for libraries?
need_version=no

# Whether dlopen is supported.
dlopen_support=unknown

# Whether dlopen of programs is supported.
dlopen_self=unknown

# Whether dlopen of statically linked programs is supported.
dlopen_self_static=unknown

# Compiler flag to prevent dynamic linking.
link_static_flag="-static"

# Compiler flag to turn off builtin functions.
no_builtin_flag=" -fno-builtin"

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec="\${wl}--export-dynamic"

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec="\${wl}--whole-archive\$convenience 
\${wl}--no-whole-archive"

# Compiler flag to generate thread-safe objects.
thread_safe_flag_spec=""

# Library versioning type.
version_type=linux

# Format of library name prefix.
libname_spec="lib\$name"

# List of archive names.  First name is the real one, the rest are links.
# The last name is the one that the linker finds with -lNAME.
library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix 
\${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}"

# The coded name of the library, if different from the real name.
soname_spec="\${libname}\${release}\${shared_ext}\$major"

# Commands used to build and install an old-style archive.
RANLIB="ranlib"
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB 
\$oldlib"
old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib"
old_postuninstall_cmds=""

# Create an old-style archive from a shared archive.
old_archive_from_new_cmds=""

# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds=""

# Commands used to build and install a shared archive.
archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname 
\$wl\$soname -o \$lib"
archive_expsym_cmds="\$echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
  cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> 
\$output_objdir/\$libname.ver~
  \$echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
          \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname 
\$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib"
postinstall_cmds=""
postuninstall_cmds=""

# Commands used to build a loadable module (assumed same as above if empty)
module_cmds=""
module_expsym_cmds=""

# Commands to strip libraries.
old_striplib="strip --strip-debug"
striplib="strip --strip-unneeded"

# Dependencies to place before the objects being linked to create a
# shared library.
predep_objects=""

# Dependencies to place after the objects being linked to create a
# shared library.
postdep_objects=""

# Dependencies to place before the objects being linked to create a
# shared library.
predeps=""

# Dependencies to place after the objects being linked to create a
# shared library.
postdeps=""

# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path=""

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="pass_all"

# Command to use when deplibs_check_method == file_magic.
file_magic_cmd="\$MAGIC_CMD"

# Flag that allows shared libraries with undefined symbols to be built.
allow_undefined_flag=""

# Flag that forces no undefined symbols.
no_undefined_flag=""

# Commands used to finish a libtool library installation in a directory.
finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"

# Same as above, but a single script fragment to be evaled but not shown.
finish_eval=""

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[   ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[       
][      ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'"

# Transform the output of nm in a proper C declaration
global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern int \\1;/p'"

# Transform the output of nm in a C name address pair
global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", 
(lt_ptr) 0},/p' -e 's/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", 
(lt_ptr) \\&\\2},/p'"

# This is the shared library runtime path variable.
runpath_var=LD_RUN_PATH

# This is the shared library path variable.
shlibpath_var=LD_LIBRARY_PATH

# Is shlibpath searched before the hard-coded library search path?
shlibpath_overrides_runpath=no

# How to hardcode a shared library path into an executable.
hardcode_action=immediate

# Whether we should hardcode library paths into libraries.
hardcode_into_libs=yes

# Flag to hardcode $libdir into a binary during linking.
# This must work even if $libdir does not exist.
hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir"

# If ld is used when linking, flag to hardcode $libdir into
# a binary during linking. This must work even if $libdir does
# not exist.
hardcode_libdir_flag_spec_ld=""

# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator=""

# Set to yes if using DIR/libNAME during linking hardcodes DIR into the
# resulting binary.
hardcode_direct=no

# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L=no

# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
# the resulting binary.
hardcode_shlibpath_var=unsupported

# Set to yes if building a shared library automatically hardcodes DIR into the 
library
# and all subsequent libraries and executables linked against it.
hardcode_automatic=no

# Variables whose values should be saved in libtool wrapper scripts and
# restored at relink time.
variables_saved_for_relink="PATH  LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH 
LIBRARY_PATH"

# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=unknown

# Compile-time system search path for libraries
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64"

# Run-time system search path for libraries
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64"

# Fix the shell variable $srcfile for the compiler.
fix_srcfile_path=""

# Set to yes if exported symbols are required.
always_export_symbols=no

# The commands to list exported symbols.
export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | 
\$SED 's/.* //' | sort | uniq > \$export_symbols"

# The commands to extract the exported symbol list from a shared archive.
extract_expsyms_cmds=""

# Symbols that should not be listed in the preloaded symbols.
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"

# Symbols that must always be exported.
include_expsyms=""

# libsysfs.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.2 (1.922.2.54 2001/09/11 03:33:37)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libsysfs.so.1'

# Names of this library.
library_names='libsysfs.so.1.0.3 libsysfs.so.1 libsysfs.so'

# The name of the static archive.
old_library='libsysfs.a'

# Libraries that this one depends upon.
dependency_libs=''

# Version information for libsysfs.
current=1
age=0
revision=3

# Is this an already installed library?
installed=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/lib'

Reply via email to