You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2011/03/10 15:17:59 UTC

[jira] Created: (TS-704) oneline patch fixing --disable-static building

oneline patch fixing --disable-static building
----------------------------------------------

                 Key: TS-704
                 URL: https://issues.apache.org/jira/browse/TS-704
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.1.6
            Reporter: Zhao Yongming
            Priority: Minor
             Fix For: 2.1.7
         Attachments: TS-disable_static.patch

when configure --disable-static, compile will fail at can not finding ../lib/ts/.libs/libtsutil.a.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (TS-704) oneline patch fixing --disable-static building

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-704:
-----------------------------

    Fix Version/s:     (was: 2.1.7)
                   2.1.8

> oneline patch fixing --disable-static building
> ----------------------------------------------
>
>                 Key: TS-704
>                 URL: https://issues.apache.org/jira/browse/TS-704
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.6
>            Reporter: Zhao Yongming
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.8
>
>         Attachments: TS-disable_static.patch
>
>
> when configure --disable-static, compile will fail at can not finding ../lib/ts/.libs/libtsutil.a.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (TS-704) oneline patch fixing --disable-static building

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006316#comment-13006316 ] 

Zhao Yongming commented on TS-704:
----------------------------------

from what I can understand, the --disable-static will just prevent libtools from building and install the .a files. the other sides is not affected, so I think that will not harm the performance on dynamic or static linked, that will be another story as far as I can see.

FYI:

here is some information:
http://www.linuxtopia.org/online_books/linux_development_tools/libtool_autoconf_automake_book/autobook_85.html

zymtest1 log # qlist trafficserver | grep /lib
/usr/lib64/trafficserver/libtsutil.so
/usr/lib64/trafficserver/libtsmgmt.la
/usr/lib64/trafficserver/libtsmgmt.so
/usr/lib64/trafficserver/libtsutil.so.2.1.7
/usr/lib64/trafficserver/libtsmgmt.so.2.1.7
/usr/lib64/trafficserver/libtsutil.so.2
/usr/lib64/trafficserver/libtsmgmt.so.2
/usr/lib64/trafficserver/plugins/conf_remap.la
/usr/lib64/trafficserver/plugins/conf_remap.so
/usr/lib64/trafficserver/libtsutil.la
zymtest1 log # ldd /usr/bin/traffic_server 
	linux-vdso.so.1 =>  (0x00007fffeafff000)
	libtsutil.so.2 => /usr/lib64/trafficserver/libtsutil.so.2 (0x00007f903c2e4000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f903c0c7000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x00007f903beb0000)
	libpcre.so.0 => /lib/libpcre.so.0 (0x00007f903bc74000)
	libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007f903ba1b000)
	libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f903b693000)
	libtcl8.5.so => /usr/lib/libtcl8.5.so (0x00007f903b372000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f903b16e000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f903af43000)
	libcap.so.2 => /lib/libcap.so.2 (0x00007f903ad3d000)
	libz.so.1 => /lib/libz.so.1 (0x00007f903ab25000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f903a902000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/libstdc++.so.6 (0x00007f903a5f8000)
	libm.so.6 => /lib/libm.so.6 (0x00007f903a375000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f903a15f000)
	libc.so.6 => /lib/libc.so.6 (0x00007f9039dd3000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f903c511000)
	libattr.so.1 => /lib/libattr.so.1 (0x00007f9039bce000)
zymtest1 log # 


> oneline patch fixing --disable-static building
> ----------------------------------------------
>
>                 Key: TS-704
>                 URL: https://issues.apache.org/jira/browse/TS-704
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.6
>            Reporter: Zhao Yongming
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.7
>
>         Attachments: TS-disable_static.patch
>
>
> when configure --disable-static, compile will fail at can not finding ../lib/ts/.libs/libtsutil.a.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (TS-704) oneline patch fixing --disable-static building

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006320#comment-13006320 ] 

Leif Hedstrom commented on TS-704:
----------------------------------

Yeah, but your proposed patch enforces the usage of the shared libts library, which we intentionally decided we did not want to do (which is why the Makefile for traffic_server uses the .a library explicitly).

> oneline patch fixing --disable-static building
> ----------------------------------------------
>
>                 Key: TS-704
>                 URL: https://issues.apache.org/jira/browse/TS-704
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.6
>            Reporter: Zhao Yongming
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.7
>
>         Attachments: TS-disable_static.patch
>
>
> when configure --disable-static, compile will fail at can not finding ../lib/ts/.libs/libtsutil.a.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (TS-704) oneline patch fixing --disable-static building

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006288#comment-13006288 ] 

Leif Hedstrom commented on TS-704:
----------------------------------

Hmmm, so, it is quite intentional that we only build a static version of traffic_server. It was done to avoid potential performance with shared libraries on some platforms. We can certainly revisit this, but that's probably a discussion for dev@.

The "right" solution would be for --disable-static to not affect the build of the traffic_server process. I have no idea how to do that with automake... :)

> oneline patch fixing --disable-static building
> ----------------------------------------------
>
>                 Key: TS-704
>                 URL: https://issues.apache.org/jira/browse/TS-704
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.6
>            Reporter: Zhao Yongming
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.7
>
>         Attachments: TS-disable_static.patch
>
>
> when configure --disable-static, compile will fail at can not finding ../lib/ts/.libs/libtsutil.a.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Assigned: (TS-704) oneline patch fixing --disable-static building

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-704:
--------------------------------

    Assignee: Leif Hedstrom

> oneline patch fixing --disable-static building
> ----------------------------------------------
>
>                 Key: TS-704
>                 URL: https://issues.apache.org/jira/browse/TS-704
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.6
>            Reporter: Zhao Yongming
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.7
>
>         Attachments: TS-disable_static.patch
>
>
> when configure --disable-static, compile will fail at can not finding ../lib/ts/.libs/libtsutil.a.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (TS-704) oneline patch fixing --disable-static building

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming updated TS-704:
-----------------------------

    Attachment: TS-disable_static.patch

> oneline patch fixing --disable-static building
> ----------------------------------------------
>
>                 Key: TS-704
>                 URL: https://issues.apache.org/jira/browse/TS-704
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.6
>            Reporter: Zhao Yongming
>            Priority: Minor
>             Fix For: 2.1.7
>
>         Attachments: TS-disable_static.patch
>
>
> when configure --disable-static, compile will fail at can not finding ../lib/ts/.libs/libtsutil.a.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira