trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Plevyak (JIRA)" <>
Subject [jira] Commented: (TS-13) x86_64 linux port
Date Fri, 06 Nov 2009 23:12:32 GMT


John Plevyak commented on TS-13:

the problem with __syn_bool_XX is that those instructions are not supported on i386 and the
x86_64 build didn't like -mpentium.

A solution is to add:

+AC_CHECK_SIZEOF(int *) # test for 64-bit pointers, this permits CFLAGS=-m32 for 32-bit compiles
on 64-bit systems
+if test "${ac_cv_sizeof_int_p}" = "4"; then
+    CFLAGS="$CFLAGS -march=pentium"
+    CXXFLAGS="$CXXFLAGS -march=pentium"


The advantage of this is that it permits 32 bit compiles on native 64-bit systems by just

configure CFLAGS=-m32 CXXFLAGS=-m32

v3 of the patch has this change and the corrected LIBTCL change.

I am still looking at librecord... which db was it that had to be deleted?  I don't remember
this code, must
have been after my time.

> x86_64 linux port
> -----------------
>                 Key: TS-13
>                 URL:
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Portability
>    Affects Versions: 2.0a
>         Environment: 64-bit linux (fedora 8 w/gcc 4.3.2)
>            Reporter: John Plevyak
>         Attachments: 64bit-bcall-001.patch, ts-64bit-v1.patch, ts-64bit-v2.patch, ts-64bit-v3.patch
>   Original Estimate: 168h
>  Remaining Estimate: 168h
> Need to compile and run in x86_64 mode on 64-bit linux

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message