Hi,
> 1. When you say “recompile with the target glibc (dynamic as
> now),” I’m planning to build latest Envoy inside a RHEL 8
> environment (glibc 2.28) so the resulting binary dynamically links
> against glibc 2.28. Is that the right approach? Do you see any
> functionality break or run time issues? Also, is this process already
> documented somewhere?
yeah - with current build it looks for glibc in the environment - so
replacing this with an earlier version should work - with the caveat
that we are not testing that environment, so there is some risk of it
breaking other things (eg kernel and/or system utilities may cause
issues)
> 2. On the “hermetic toolchains” effort: will that make it
> straightforward for downstreams to target older glibc versions (e.g.,
> by swapping the base sysroot), and is there a rough timeline for when
> this will land?
yes, exactly that - with the new hermetic build anything on the system
should be ignored (at least theoretically, currently im ironing out
issues where deps just expect system tools eg) - so glibc and any other
libs that are not pulled in through bazel deps are sourced from the
sysroot.
timeline is fairly imminent, but its a pretty major development, so
there are a lot of small issues to work through - my goal is to land it
in this release cycle.
> Also, If we rebuild with different glibc, (glibc v2.28 in this case),
> What all tests we need to run to ensure that the rebuild with a
> different glibc works as expected and doesn't break anything?
at a minimum i would say the release tests (ie ./ci/do_ci.sh release),
but you probably also want to know that the sanitizer checks havent
broke (ie asan/msan/tsan)
cheers,
Ryan Northey (@phlax)
>>> [3]
>>>
>>
>
https://groups.google.com/d/msgid/envoy-users/eee3f67c-74a8-4b51-8107-057c1bc7fdean%40googlegroups.com?utm_medium=email&utm_source=footer
>> [3]
>
> --
> You received this message because you are subscribed to the Google
> Groups "envoy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
envoy-users...@googlegroups.com.
> To view this discussion visit
>
https://groups.google.com/d/msgid/envoy-users/5bc8f739-c73b-4e3b-944f-751486ccdf88n%40googlegroups.com
> [4].
> [4]
>
https://groups.google.com/d/msgid/envoy-users/5bc8f739-c73b-4e3b-944f-751486ccdf88n%40googlegroups.com?utm_medium=email&utm_source=footer