You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2009/03/19 09:07:50 UTC
[jira] Created: (THRIFT-381) Fail fast if configure detects C++
problems
Fail fast if configure detects C++ problems
-------------------------------------------
Key: THRIFT-381
URL: https://issues.apache.org/jira/browse/THRIFT-381
Project: Thrift
Issue Type: Bug
Reporter: David Reiss
Assignee: David Reiss
We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury updated THRIFT-381:
---------------------------------
Fix Version/s: (was: 0.3)
Priority: Trivial (was: Major)
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Priority: Trivial
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912762#action_12912762 ]
David Reiss commented on THRIFT-381:
------------------------------------
I just closed THRIFT-730 as a duplicate of this. It has one possible solution.
That code doesn't make sure that the compiled executable is runnable when not cross-compiling. Also, did you write it yourself? If not, I think we need a source for it to make sure it can be included.
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Priority: Trivial
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury updated THRIFT-381:
---------------------------------
Fix Version/s: 0.2
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Fix For: 0.2
>
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912759#action_12912759 ]
Todd Lipcon commented on THRIFT-381:
------------------------------------
Even without a messed up libstdc++, it will happily configure, even if g++ isn't installed at all! We should fail. Same goes for our requirement of the lex library for yywrap.
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Priority: Trivial
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860583#action_12860583 ]
Bryan Duxbury commented on THRIFT-381:
--------------------------------------
David - last we spoke, you seemed to have decided not to do this. Should we close this issue "won't fix"?
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Fix For: 0.3
>
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861077#action_12861077 ]
David Reiss commented on THRIFT-381:
------------------------------------
I don't know. It's still possible that it might be fixed some time in the future. My preference would be to just bump the priority down to trivial.
By the way, here is what I found:
http://www.gnu.org/software/hello/manual/autoconf/Compilers-and-Preprocessors.html states "If the compiler being used does not produce executables, the tests fail. If the executables can't be run, and cross-compilation is not enabled, they fail too." This is the exact behavior we want, but AC_PROG_CXX doesn't behave this way (it sets CXX to g++ even if g++ doesn't work), and there is no indication why. I'm not really up for rewriting that cross-compilation detection logic. I'm more likely to just try to report it as a bug in autoconf.
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Fix For: 0.3
>
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912764#action_12912764 ]
David Reiss commented on THRIFT-381:
------------------------------------
Didn't lex get handled by THRIFT-865 ?
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Priority: Trivial
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912779#action_12912779 ]
David Reiss commented on THRIFT-381:
------------------------------------
Note, the follow-up to Bruno Haible's email is at http://www.mail-archive.com/autoconf@gnu.org/msg19772.html. I had trouble finding it at first.
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Priority: Trivial
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863903#action_12863903 ]
David Reiss commented on THRIFT-381:
------------------------------------
Bruno Haible just reported the same problem: http://www.mail-archive.com/bug-autoconf@gnu.org/msg02681.html . Hopefully this will get fixed pretty soon.
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Reporter: David Reiss
> Assignee: David Reiss
> Priority: Trivial
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-381) Fail fast if configure detects C++
problems
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier updated THRIFT-381:
-------------------------------
Component/s: Build Process
> Fail fast if configure detects C++ problems
> -------------------------------------------
>
> Key: THRIFT-381
> URL: https://issues.apache.org/jira/browse/THRIFT-381
> Project: Thrift
> Issue Type: Bug
> Components: Build Process
> Reporter: David Reiss
> Assignee: David Reiss
> Priority: Trivial
>
> We had a guy on the public list who couldn't compile and run a trivial C++ program on his machine because libstdc++ was messed up. configure should detect this and bail out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.