-
Notifications
You must be signed in to change notification settings - Fork 201
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
Older versions of make do not support "abspath" #2423
Labels
Milestone
Comments
2 tasks
github-actions bot
pushed a commit
that referenced
this issue
Aug 15, 2023
Fix #2423, avoid use of abspath make function
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The table build procedure uses the GNU make function
$(abspath <file>)
as documented here: https://www.gnu.org/software/make/manual/html_node/File-Name-Functions.html#index-abspath-1However, older versions of make (e.g. 3.8) appear to not support this function as described - although make itself does not throw an error about this function, the result is an empty string. This in turn causes the command being executed to fail because its missing the argument, which is supposed to be a file name.
To Reproduce
Build the software using an older version of GNU make, an error such as this occurs:
Expected behavior
There should be a library filename between the "x" and the object filename.
Code snips
The command in the makefile here is:
cFE/cmake/tables/elf2cfetbl_rules.mk
Line 5 in 8852743
Note that the
$(abspath $(<))
evaluated to the empty string. Whereas on GNU make 4.x this works as described in the documentation.System observed on:
VxWorks 6.9, which ships a binary version of GNU make v3.8.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: