All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to cross compile git. http.c generating errors.
@ 2023-05-06 18:38 PEEX Gamer
  2023-05-11  3:39 ` Bagas Sanjaya
  2023-05-11  6:28 ` Jeff King
  0 siblings, 2 replies; 3+ messages in thread
From: PEEX Gamer @ 2023-05-06 18:38 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

I was trying to compile git for x86_64 FreeBSD 13.2 on x86_64 linux
without any success.
I was using clang toolchain that worked for native Freebsd 13.2 compilation.
The errors i had:
First thing was that config.mak.uname was trying to include sysinfo
because of host machine being linux which was weird. I ommited this
error by replacing linux section with freebsd and everythink was
smooth until http.c which generates output attached in email. Why
would somethink like this happen when same code was compiled with
success on FreeBSD machine but for some reason it can't cross compile.
stdio.h come from official FreeBSD 13.2 base. I checked also when was
http.c modified but this part is like that for last 5 years. Looks
like i might have done somethink wrong with my toolchain but the same
toolchain generated working tests (i ran them on FreeBSD machine,
worth noting that this tests were using stdio.h) and also built
working curl from source.

[-- Attachment #2: error_stdio.PNG --]
[-- Type: image/png, Size: 9929 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-11  6:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06 18:38 Unable to cross compile git. http.c generating errors PEEX Gamer
2023-05-11  3:39 ` Bagas Sanjaya
2023-05-11  6:28 ` Jeff King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.