-
-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error on Debian v 9.13.0 Stretch #301
Comments
Привет. This seems to be a duplicate of issue #123. Can you apply this patch and see if the build succeeds? diff --git a/CMakeLists.txt b/CMakeLists.txt
index f7556aa8..e74910fc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -227,12 +227,6 @@ if (${CMAKE_BUILD_TYPE} MATCHES "Rel")
enable_c_flag_if_avail(-malign-data=abi C_FLAGS_REL HAVE_ALIGN_DATA)
enable_c_flag_if_avail(-fno-asynchronous-unwind-tables C_FLAGS_REL HAVE_NO_ASYNC_UNWIND_TABLES)
- enable_c_flag_if_avail(-flto=jobserver C_FLAGS_REL HAVE_LTO_JOBSERVER)
- if (NOT HAVE_LTO_JOBSERVER)
- enable_c_flag_if_avail(-flto C_FLAGS_REL HAVE_LTO)
- endif ()
-
- enable_c_flag_if_avail(-ffat-lto-objects C_FLAGS_REL HAVE_LTO_FAT_OBJS)
enable_c_flag_if_avail(-mcrc32 C_FLAGS_REL HAVE_BUILTIN_IA32_CRC32)
endif () (You can apply the patch with a command like If it does succeed, could you please confirm the compiler and version that are being used here? I only have a Debian 10 system running here and it works for me. I was never able to reproduce #123, and I'd like to understand what's the problem here. |
Thanks for the answer. |
Good to know it worked. At least you'll be able to see if Lwan will live up to the promise for your highly loaded site now. Unfortunately, this workaround disables a useful optimization, so I still want to know what causes it. Run the |
I can send You an ISO image of the system. |
6.3? That's really odd. There's no need to send the ISO, I can download it
from Debian. Thanks, though. (It's going to take a while for me to fix it
though because I'm taking a break from open source work.)
…On Sat, Mar 6, 2021, 04:38 DagothDeer ***@***.***> wrote:
I can send you an ISO image of the system.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#301 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADVGNZIK2PMRRZ33WFSTLTCIO3HANCNFSM4YWTUBCQ>
.
|
Thank You very much for help. |
Would you mind telling me the site where Lwan will be used at? I'm always curious to see what people are using it for. |
At this moment my project has not been launched yet and it is in the process of development and assembly. |
What I described above is only a small part of the system. When we complete the development and assembly of this project with a partner and launch it, we can show what happened without any problems. My partner and I will also be very interested to see how all this will behave in production. |
For documentation sake: this is also a dupe of #294. |
Hello, @lpereira. Installation on last stable build Debian v10.9.0-amd64 was successful, but the compiler showed one warning. |
Nope. It only affects the "clock" sample, so if you're not using it, you're
good.
…On Wed, Mar 31, 2021, 08:22 DagothDeer ***@***.***> wrote:
Hello, lpereira. Installation on last stable build Debian v10.9.0-amd64
was successful, but the compiler showed one warning.
Is this not a critical warning?
[image: 123]
<https://user-images.githubusercontent.com/33806067/113168886-be6ec680-924d-11eb-96a6-f34f62e32a05.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#301 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADVGIPG66FERXIH43FTATTGM42XANCNFSM4YWTUBCQ>
.
|
Ok, thanks for the answer. |
Hi. Like your Lwan web server.
Work and compiled without problem on "ubuntu-20.04.1-live-server-amd64", but Ubuntu is more heavy than Debian.
So, i try to compile it on Debian (i know that it
s not present in your OS list). I
m took this list for Ubuntu: "git cmake zlib1g-dev pkg-config lua5.1-dev libsqlite3-dev libmysqlclient-dev", but replace "libmysqlclient-dev" with "default-libmysqlclient-dev". All additional packages where installed without problem, but when i start "make" step - I saw some errors.You can see it on screenshot.
Please, can You help me to build it on Debian v 9.13.0 Stretch?
P.S. Your Lwan will be used as a multi-backend to distribute the load on a highly loaded site. Therefore, disk space, as well as the amount of RAM used for the operating system, are very important to me. Debian is better than Ubuntu in this case.
Sorry for Russsian language on screen.
I translate it for You.
"Ошибка" == "Error".
"Ошибка выполнения рецепта для цели" == "recipe for target".
The text was updated successfully, but these errors were encountered: