[
https://issues.apache.org/jira/browse/MINIFICPP-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Szasz resolved MINIFICPP-1430.
-------------------------------------
Assignee: Marton Szasz
Resolution: Done
Done.
On Debian, it's not possible to use newer compilers without breaking
compatibility with system libraries, so that would mean binary packages are not
working without installing the latest compilers from a third party repo.
On CentOS, devtoolset is recent enough, so there's not much value.
On Ubuntu, we can use the latest compilers from this official PPA:
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
> Explore the possibility of creating binaries for target linux OSes with
> latest compilers
> ----------------------------------------------------------------------------------------
>
> Key: MINIFICPP-1430
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1430
> Project: Apache NiFi MiNiFi C++
> Issue Type: Task
> Reporter: Marton Szasz
> Assignee: Marton Szasz
> Priority: Major
>
> Is it possible to compile using latest GCC or latest Clang and create
> binaries that are running on CentOS 7, debian 10 and ubuntu 18.04? Do they
> link with older glibc versions?
> Does static linking libstdc++ or libc++ help? How much does it increase the
> binary size and memory usage?
> In the future, llvm-libc might be a viable option:
> [https://llvm.org/docs/Proposals/LLVMLibC.html]
> If this is successful, it's possible to upgrade to C++20 without hurting OS
> compatibility.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)