Opened 3 years ago

Closed 3 years ago

#8794 closed task (fixed)

Unresolved @ArSupportsAtFile@ on Solaris distribution.

Reported by: kgardas Owned by: kgardas
Priority: lowest Milestone: 7.8.1
Component: Build System Version: 7.8.1-rc1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

While configuring ghc binary distribution on Solaris I've noted that settings file is not correctly generated:

$ cat settings 
[("GCC extra via C opts", " -fwrapv"),
 ("C compiler command", "/usr/sfw/bin/gcc"),
 ("C compiler flags", " "),
 ("ar command", "/usr/xpg4/bin/ar"),
 ("ar flags", "clqs"),
 ("ar supports at file", "@ArSupportsAtFile@"),
 ("touch command", "touch"),
 ("dllwrap command", "/bin/false"),
 ("windres command", "/bin/false"),
 ("perl command", "/usr/bin/perl"),
 ("target os", "OSSolaris2"),
 ("target arch", "ArchX86"),
 ("target word size", "4"),
 ("target has GNU nonexec stack", "True"),
 ("target has .ident directive", "True"),
 ("target has subsections via symbols", "False"),
 ("LLVM llc command", "llc"),
 ("LLVM opt command", "opt")
 ]

Looks like @ArSupportsAtFile@ is not filled with the right value.

Attachments (1)

0001-add-omitted-FP_PROG_AR_SUPPORTS_ATFILE-into-the-dist.patch (655 bytes) - added by kgardas 3 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 3 years ago by maeder

Architecture: x86_64 (amd64)Unknown/Multiple
Operating System: SolarisUnknown/Multiple
Priority: normallowest
Type: bugtask
Type of failure: Installing GHC failedNone/Unknown

this entry looks the same for me also under linux and Mac OSX so it seems to be unused.

comment:2 Changed 3 years ago by kgardas

Owner: set to kgardas

Fixed by adding omitted FP_PROG_AR_SUPPORTS_ATFILE into the distribution configure.ac

comment:3 Changed 3 years ago by kgardas

Milestone: 7.8.1
Status: newpatch
Version: 7.6.37.8.1-rc1

comment:4 Changed 3 years ago by Austin Seipp <austin@…>

In 43c314c730d205a3ec8ef5d54e5bf72a7900f01d/ghc:

add omitted FP_PROG_AR_SUPPORTS_ATFILE into the distribution configure.ac (fixes #8794)

Signed-off-by: Austin Seipp <austin@well-typed.com>

comment:5 Changed 3 years ago by thoughtpolice

Status: patchmerge

comment:6 Changed 3 years ago by thoughtpolice

Resolution: fixed
Status: mergeclosed

Merged.

Note: See TracTickets for help on using tickets.