GNU Astronomy Utilities - Bugs: bug #52674, Correcting extra linking warnings...
You are not allowed to post comments on this tracker with your current authentication level.
bug #52674: Correcting extra linking warnings during compilation
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Fri 15 Dec 2017 04:55:48 PM UTC | ||
Category: | Installation | Severity: | 3 - Normal |
Item Group: | Addition(s) | Status: | Fixed |
Privacy: | Public | Assigned to: | makhlaghi |
Open/Closed: | Closed |
Jump to the original submission
Mon 22 Jan 2024 10:51:19 AM UTC, comment #6: |
Mohammad Akhlaghi <makhlaghi> |
Mon 22 Jan 2024 09:45:32 AM UTC, comment #5: Yes! No warnings related to this are printed. There is only one that you can see below.
|
Raul Infante-Sainz <infantesainz> |
Mon 22 Jan 2024 09:25:34 AM UTC, comment #4: Thanks a lot Raul! The main warnings are expected to be in the output of 'make'. Can you continue the build with 'make' and 'make check' and see if any warnings are printed? |
Mohammad Akhlaghi <makhlaghi> |
Mon 22 Jan 2024 08:42:17 AM UTC, comment #3: I just checked the './configure' step using Gnuastro 0.21.70-5005 on a macOS Monterey 12.3 (Apple M1 chip). Below are the lines containing the string 'pthread'. I think the problem has been fixed. Let me know if you need any further check.
|
Raul Infante-Sainz <infantesainz> |
Sun 21 Jan 2024 07:40:13 PM UTC, comment #2: Indeed, the warnings only show on the macOS; I don't see any on the Clang of Arch GNU/Linux now either (version 16.0.6).
|
Mohammad Akhlaghi <makhlaghi> |
Tue 16 Jan 2024 06:22:33 PM UTC, comment #1: Is this just an issue on MacOS? Using the tools on Debian Bookworm (clang-14). I don't see two '-pthread' options. I do see something like '-pthread -lpthead' but this does not show any other warnings.
|
Thorsten Alteholz <alteholz> |
Fri 15 Dec 2017 04:55:48 PM UTC, original submission:
When linking the libraries, currently Gnuastro uses the `-pthread' option two times! This can lead to the following linking warning on some systems (this is from Mac OS X):
|
Mohammad Akhlaghi <makhlaghi> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2024-01-22 | makhlaghi | Status | Postponed | Fixed | |
Assigned to | None | makhlaghi | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-4448.
Corresponding source code
Thanks a lot Raul! This warning has been fixed in Commit 4904eb5d8.
Since neither of the issues are happening any more, I am closing this bug. Thanks a lot also to Thorsten for the reminder on this bug.