You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by felixbuenemann <gi...@git.apache.org> on 2016/04/30 08:23:09 UTC
[GitHub] trafficserver pull request: TS-4397: Fix build on i386 caused by t...
GitHub user felixbuenemann opened a pull request:
https://github.com/apache/trafficserver/pull/607
TS-4397: Fix build on i386 caused by type mismatch
It seems lua_Integer is 32-Bit on i386 while it's 54-Bit on x86-64 causing the existing code to fail with:
```
metrics.cc: In function ‘bool metrics_binding_initialize(BindingInstance&)’:
metrics.cc:339:58: error: call of overloaded ‘bind_constant(const char [20], int64_t)’ is ambiguous
binding.bind_constant("metrics.update.pass", int64_t(0));
```
See [Bug TS-4397](https://issues.apache.org/jira/browse/TS-4397) for more info.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/felixbuenemann/trafficserver TS-4397
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/607.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #607
----
commit 9cf86f300d525d1feb41b07afc9b87b44b6c7ec9
Author: Felix Bünemann <bu...@louis.info>
Date: 2016-04-30T06:09:24Z
Fix build on i386 caused by type mismatch
It seems lua_Integer is 32-Bit on i386 while it's 54-Bit on x86-64
causing the existing code to fail with:
metrics.cc: In function ‘bool metrics_binding_initialize(BindingInstance&)’:
metrics.cc:339:58: error: call of overloaded ‘bind_constant(const char [20], int64_t)’ is ambiguous
binding.bind_constant("metrics.update.pass", int64_t(0));
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request: TS-4397: Fix build on i386 caused by t...
Posted by felixbuenemann <gi...@git.apache.org>.
Github user felixbuenemann commented on the pull request:
https://github.com/apache/trafficserver/pull/607#issuecomment-215986332
@shukitchan This was the only build problem on i386. I noticed it when building ubuntu packages on launchpad which builds for both i386 and x86-64.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request: TS-4397: Fix build on i386 caused by t...
Posted by zwoop <gi...@git.apache.org>.
Github user zwoop closed the pull request at:
https://github.com/apache/trafficserver/pull/607
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request: TS-4397: Fix build on i386 caused by t...
Posted by shukitchan <gi...@git.apache.org>.
Github user shukitchan commented on the pull request:
https://github.com/apache/trafficserver/pull/607#issuecomment-215972733
It looks fine. But I think we dropped 32 bit support already? so i doubt this is the only problem?
@zwoop
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request: TS-4397: Fix build on i386 caused by t...
Posted by zwoop <gi...@git.apache.org>.
Github user zwoop commented on the pull request:
https://github.com/apache/trafficserver/pull/607#issuecomment-215972974
@shukitchan We dropped 32-bit support as in, we don't have anyone who's maintaining / testing / supporting 32-bit. If someone (like Felix) wants to do it, and it can be done in a way that it doesn't break 64-bit, we're fine with that. Same with platforms other than Linux, FreeBSD and Illumos.
But in this case, it seems this is right from correctness, regardless of 32-bit vs 64-bit, right ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request: TS-4397: Fix build on i386 caused by t...
Posted by zwoop <gi...@git.apache.org>.
Github user zwoop commented on the pull request:
https://github.com/apache/trafficserver/pull/607#issuecomment-215972662
Seems reasonable to me.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver pull request: TS-4397: Fix build on i386 caused by t...
Posted by shukitchan <gi...@git.apache.org>.
Github user shukitchan commented on the pull request:
https://github.com/apache/trafficserver/pull/607#issuecomment-215973625
it looks good.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---