Re: BUG #14033: cross-compilation to ARM fails
От | Christoph Berg |
---|---|
Тема | Re: BUG #14033: cross-compilation to ARM fails |
Дата | |
Msg-id | 20160414094243.GC11804@msg.df7cb.de обсуждение исходный текст |
Ответ на | Re: BUG #14033: cross-compilation to ARM fails (Alvaro Herrera <alvherre@2ndquadrant.com>) |
Ответы |
Re: BUG #14033: cross-compilation to ARM fails
|
Список | pgsql-bugs |
Re: Alvaro Herrera 2016-03-19 <20160319223826.GA333151@alvherre.pgsql> > I suppose cross-building is supposed to work, but I'm not surprised if > it actually doesn't; we don't have any cross-test-compile test in our > buildfarm. > > So you first run configure for the host compiler, to build pg_config and > zic, and then run configure again for the target compiler, and there's a > "make distclean" in the middle and you also remove configure's > config.cache. Hmm ... Fwiw, there's a related Debian bug about pg_config: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794103 The problem discussed there is one step down in the dependency chain, namely using pg_config+libpq for compilation of other packages, but the pg_config-cross-compilation problem is probably similar. My idea was to see if pg_config could be rewritten in sh or perl instead so it could run both on the host and the build architecture, but I never got around to actually implementing something. (And there's the obvious problem that pg_config also needs to run on Windows, so sh is probably out, if we'd want to have this included in core. Maybe perl?) Christoph
В списке pgsql-bugs по дате отправления: