diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2020-05-04 08:52:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 08:52:39 -0400 |
commit | a325c20b7d13479173902f0495f6f403482b83f6 (patch) | |
tree | 06a5a14da8ed1563a55ed10fa74ec41fc13d0d7a /packaging/installer | |
parent | 166958349599708ae34397a8407aa35982f8c81c (diff) |
Added docmentation about workaround for clang build errors. (#8867)
* Added docmentation about workaround for clang build errors.
* Update packaging/installer/methods/manual.md
Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
Diffstat (limited to 'packaging/installer')
-rw-r--r-- | packaging/installer/methods/manual.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/installer/methods/manual.md b/packaging/installer/methods/manual.md index 6a8f67e915..fdcabaf89d 100644 --- a/packaging/installer/methods/manual.md +++ b/packaging/installer/methods/manual.md @@ -206,6 +206,14 @@ You can edit this file to set options. One common option to tweak is `history`, To apply the changes you made, you have to restart Netdata. +### 'nonrepresentable section on output' errors + +Our current build process unfortunately has some issues when using certain configurations of the `clang` C compiler on Linux. + +If the installation fails with errors like `/bin/ld: externaldeps/libwebsockets/libwebsockets.a(context.c.o): relocation R_X86_64_32 against '.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC`, and you are trying to build with `clang` on Linux, you will need to build Netdata using GCC to get a fully functional install. + +In most cases, you can do this by running `CC=gcc ./netdata-installer.sh`. + ## What's next? When you finish installing Netdata, be sure to visit our [step-by-step tutorial](../../../docs/step-by-step/step-00.md) |