Re: [ilink64 Error] Fatal: Invalid object file 'altsvc.o'

Jeffrey Walton via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <CAH8yC8=PcrU7+xDm5ZDecaC2Pmy3JnqrYMbDRBvCKbXCHpqWMA@mail.gmail.com>
On Tue, Jul 25, 2023 at 4:24 PM Gisle Vanem via curl-users
<[email protected]> wrote:
>
> Jeffrey Walton wrote:
>
>  >> *[ilink64 Error] Fatal: Invalid object file 'altsvc.o'*
> ...
>
> > Clang will get into code paths that it
> > cannot compile.
>
> Compile? The error was from 'ilink64' which the clang/LLMV
> linker.

My bad, you're right. More specifically, Clang pretends to be other
compilers, but then it exhibits different behavior than the tool it is
pretending to be.

In this case, I would examine the Borland project files. It sounds
like one is missing a reference to a source file. Check the *.bdsproj
files, and ensure the source file is present under the
CppStaticLibrary personality.

Or, the source file could be conditionally included, and it is not
included in the source tree for the project because the condition was
written for the borland compiler, and not the Clang compiler.

Jeff
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.