Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.os2.programmer.porting > #168

Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced

From Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com>
Newsgroups comp.os.os2.programmer.porting
Subject Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced
Date 2011-12-27 08:40 -0500
Organization Netfront http://www.netfront.net/
Message-ID <jdchsm$1icc$1@adenine.netfront.net> (permalink)
References (1 earlier) <4ef8067e$0$3272$c3e8da3$9b4ff22a@news.astraweb.com> <jdape9$2mnb$1@adenine.netfront.net> <jdbdo8$7ns$1@adenine.netfront.net> <4ef96e66$0$4773$c3e8da3$10694f1e@news.astraweb.com> <4ef97d46$0$31127$c3e8da3$b280bf18@news.astraweb.com>

Show all headers | View raw


On 12/27/11 03:09 am, Dave Yeo thus wrote :
> Dave Yeo wrote:
>> Perhaps I'll try building lighttpd just to see if it is simple
>
> I had to disable pcre in configure as I was too lazy to install it.
> The build depended on mmap, so I used Yuri's port, swapped headers and
> built with make LDFLAGS=-lmmap.
> The build died from needing getaddrinfo() which our libc is missing.
> Perhaps Pauls build environment has it added?
> Anyways if you want to do the work, there is a version in the rsync
> sources that could be ripped out, otherwise it'll need modifying to use
> gethostbyname().\
> The build system seems really stupid too as it seems to make a static
> lib for every object file. Lots of potential for linking in the wrong
> order.
> Definitely not a simple port.

Wow...

Thanks so much for the wealth of information, Dave. Perhaps it doesn't 
seem so complex to you, but on my side of the equation, you've really 
turned a light on for stuff I've never taken the time to wrap my head 
around (and of course, one of the dangers of doing this under Linux 
regularly, and not on other platforms, is that when things "just work," 
one tends to disregard the "why" and the "how").

I noticed during configure that gethostbyname initially barfed, then 
later seemed to indicate that it was okay (of course, this was during 
configure, and not while linking). I hadn't gotten that far into the 
process to see it actually fail. I was encouraged with the config option 
--disable-ipv6, as I ran across that some time ago with another project, 
and had to stub around all of the ipv6 stuff manually, which was a chore.

I'm also encouraged from a cpability standpoint by your comment that 
this is definitely not a simple port. At least I don't feel like such a 
dunce (for the moment). ;-)

I'll give this another look over the weekend, and perhaps clean up the 
two gcc installations I currently have, if only to head off potential 
conflicts.

Thanks again for all of your time and excellent insight. Cheers, and 
Happy 2012.

-- 
Lewis
-------------------------------------------------------------
Lewis G Rosenthal, CNA, CLP, CLE, CWTS
Rosenthal & Rosenthal, LLC                www.2rosenthals.com
Need a managed Wi-Fi hotspot?                www.hautspot.com
visit my IT blog                www.2rosenthals.net/wordpress
-------------------------------------------------------------

--- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---

Back to comp.os.os2.programmer.porting | Previous | NextPrevious in thread | Find similar


Thread

building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2011-12-25 23:10 -0500
  Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Dave Yeo <dave.r.yeo@gmail.com> - 2011-12-25 21:30 -0800
    Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2011-12-26 16:37 -0500
      Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2011-12-26 22:23 -0500
        Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Dave Yeo <dave.r.yeo@gmail.com> - 2011-12-26 23:06 -0800
          Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Dave Yeo <dave.r.yeo@gmail.com> - 2011-12-27 00:09 -0800
            Re: building Lighttpd 1.4.30 using gcc 4.4.6: ___builtin_stdarg_start referenced Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2011-12-27 08:40 -0500

csiph-web