Skip to content
Tcl Source Code History Of Ticket 3534990fffffffff
Login

History Of Ticket 3534990fffffffff

Artifacts Associated With Ticket 3534990fffffffff

  1. Ticket change [4461a19d83] (rid 116702) by eriklns on 2012-06-13 21:08:15:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When compiling Tk8.5.11 on a x86_64 multilib linux system for a 32-bit native target, configuring the build (with a config.site script) to use CC="gcc -m32 -march i686", the resulting Makefile shows:
      
      X11_LIB_SWITCHES= -L/usr/lib64 -lX11 $(XFT_LIBS)
      
      The explicit search path /usr/lib64 is misleading because the linker will find 64-bit libraries only in that place. It doesn't break the build, but it produces a lot of messages like these:
      
      gcc -m32 -march=i686 -g  -pipe    -Wl,--export-dynamic  tkAppInit.o -L/usr/local/src/BUILD/i686-linux/tk8.5.11 -ltk8.5 \
              -L/usr/local/src/BUILD/i686-linux/tcl8.5.11 -ltcl8.5  -L/usr/lib64 -lX11  -ldl  -lieee -lm  -Wl,-rpath,/usr/local/lib -o wish
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libieee.a when searching for -lieee
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
      
      The config.log for this build has been attached.
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "eriklns"
    10. subsystem initialized to: "None"
    11. title initialized to:
      Configure tk 8.5.11 for 32-bit on x86_64 misleads linker
      
    12. type initialized to: "Bug"
  2. Add attachment "config.log" [9e2d75de3b] (rid 96432) by eriklns on 2012-06-14 04:08:17.

  3. Ticket change [a9e44692ce] (rid 99233) by eriklns on 2012-06-14 04:08:17:

    1. icomment:
      
      
      File Added - 446030: config.log
      
      
      
    2. login: "eriklns"
    3. mimetype: "text/plain"
    4. username: "eriklns"
  4. Ticket change [d8f1af1a2c] (rid 107529) by bgriffin on 2013-01-28 05:00:22:

    1. icomment:
      I've been having a similar problem on SuSE Enterprise 10.4 and here's what I learned.
      
      To begin with, the --disable-64bit option doesn't work when it comes to just the basic compiler, which is why CC="gcc -m32" is required in the first place.  This shouldn't be necessary.
      
      I found a missing link in /usr/lib  libfreetype.so -> libfreetype.so.6, libfontconfig.so -> libfontconfig.so.1
      Because the linker was looking for lib<name>.so for -lfreetype -lfontconfig, it failed to find it and then tried /usr/lib64 which gives the misleading error message about incompatible libraries.
      
      The xft-config script does not, and cannot, report the correct options for 32-bit xft library usage.  This causes the configure script to feed the wrong options to the test compiles.
      
      There are more problems then I could sort out with the configure script and the underlying OS support for 32-bit development. 
      
      Bottom line is the SuSE environment is screwed up when it comes to 32-bit development.  Much of the OS seems to make a base assumption that it's 64-bit all the time and 32-bit is reluctantly present for legacy support of existing programs.
      
      
      
      
    2. login: "bgriffin"
    3. mimetype: "text/plain"
    4. username: "bgriffin"
  5. Ticket change [3e46b2bca1] (rid 148402) by dkf on 2016-08-20 17:06:12:

    1. closedate changed to: "2457621.21264773"
    2. closer changed to: "dkf"
    3. comment changed to:
      When compiling Tk8.5.11 on a x86_64 multilib linux system for a 32-bit native target, configuring the build (with a config.site script) to use CC="gcc -m32 -march i686", the resulting Makefile shows:
      
      X11_LIB_SWITCHES= -L/usr/lib64 -lX11 $(XFT_LIBS)
      
      The explicit search path /usr/lib64 is misleading because the linker will find 64-bit libraries only in that place. It doesn't break the build, but it produces a lot of messages like these:
      
      gcc -m32 -march=i686 -g  -pipe    -Wl,--export-dynamic  tkAppInit.o -L/usr/local/src/BUILD/i686-linux/tk8.5.11 -ltk8.5 \
              -L/usr/local/src/BUILD/i686-linux/tcl8.5.11 -ltcl8.5  -L/usr/lib64 -lX11  -ldl  -lieee -lm  -Wl,-rpath,/usr/local/lib -o wish
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libieee.a when searching for -lieee
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
      /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
      
      The config.log for this build has been attached.
      
    4. icomment: "This is a Tk issue"
    5. login: "dkf"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Invalid"
    8. severity changed to: "Minor"
    9. status changed to: "Closed"
    10. subsystem changed to: "53. Configuration and Build Tools"