Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1ED1E200BEA for ; Tue, 27 Dec 2016 20:09:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1D552160B31; Tue, 27 Dec 2016 19:09:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 167B0160B1D for ; Tue, 27 Dec 2016 20:08:58 +0100 (CET) Received: (qmail 55278 invoked by uid 500); 27 Dec 2016 19:08:53 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 55268 invoked by uid 99); 27 Dec 2016 19:08:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2016 19:08:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BDB241A04CC for ; Tue, 27 Dec 2016 19:08:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rowe-clan-net.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id d2rsRQ_12LC8 for ; Tue, 27 Dec 2016 19:08:49 +0000 (UTC) Received: from mail-it0-f48.google.com (mail-it0-f48.google.com [209.85.214.48]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 91CCC5FBCE for ; Tue, 27 Dec 2016 19:08:49 +0000 (UTC) Received: by mail-it0-f48.google.com with SMTP id 75so171595306ite.1 for ; Tue, 27 Dec 2016 11:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rowe-clan-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WxbMG5ju4hpRbK931bL8EU6cUhZSaMpeuGiVGejqzBI=; b=C3fVHpRgNz00sk65Ev/QdCwFJOpHF0QnoijcozR1FTPEMnZcqS6FtKltS7rxOL7X5+ 29sH5ZuPFc1CknSVXw9yR3HOuyyAy1jf604ns1swwcPeplhKC+MM1C+IhiDolbIc5R0O +FK6aLTvbhmeAHdBNNOTD7oocINmdKe2hkSekEVUw0Wz+DM6IitP/PD9cVsVxP+ax0XD vox0SMpTEOpW2KbdgBGVl3Ks9blSicbkPqXzIrAaULwWqt60rghhQS5ZhjWGSQCqsG+p NUkv0KmcUDlIEvsiTyo4FnJtRsZwZIdlcwAeVkybwOh5kNUj3ArLuekPfTmPTeCybrQp nUqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WxbMG5ju4hpRbK931bL8EU6cUhZSaMpeuGiVGejqzBI=; b=IvVpMIJT8j+t266c64XFgWE0kw0zk/+htYduFsSmCJ/1DUC5oXG22ujC0VtijJwpkN L6SwerMfTQmYw7wRD43/2Rg0YkygnOb1rnn++W4AWdv6CgVZOtUNREhkKkvx3xi/Uv9v 6pAfzoaEMOw9CwAtsmao5ud9TCiTS/N5UbiRy5Jh96eNO3PNNWajvu4+PSD67HXnSdjq Q2mN5DD3sYNzjCXwhDMdhASBtYA9ceB+MhIfLbHlqtcFqs9p73bTRzLMkLY5X+9uSqow hGbGC7uU9AP7nEFyQOu4vnLBTiGayMx+iTLBW7e/lfThgeBZv6DX01C95JD+RF8OmnUG dufQ== X-Gm-Message-State: AIkVDXLVK/F7nV9ODg4vDr9pzhqOx6HpZzR1rziCtW+SgtUkCNxlR0yxRETFgnTMw1+KVLB+dGCTINumU1vuvnEa X-Received: by 10.36.101.5 with SMTP id u5mr28134948itb.45.1482865725954; Tue, 27 Dec 2016 11:08:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.34.197 with HTTP; Tue, 27 Dec 2016 11:08:45 -0800 (PST) In-Reply-To: References: From: William A Rowe Jr Date: Tue, 27 Dec 2016 13:08:45 -0600 Message-ID: Subject: Re: 1.6 apr/apr-util scope/timetable? To: Ivan Zhakov Cc: Jacob Champion , APR Developer List Content-Type: multipart/mixed; boundary=001a1143e812d8b3380544a8946d archived-at: Tue, 27 Dec 2016 19:09:00 -0000 --001a1143e812d8b3380544a8946d Content-Type: multipart/alternative; boundary=001a1143e812d8b3320544a8946b --001a1143e812d8b3320544a8946b Content-Type: text/plain; charset=UTF-8 On Sat, Dec 24, 2016 at 1:23 AM, Ivan Zhakov wrote: > > Regarding my current problem: I'm getting the following when I attempt > to build expat: > [[[ > runtestspp.obj : error LNK2019: unresolved external symbol > _align_limit_to_full_utf8_characters referenced in function "void > __cdecl test_utf8_auto_align(void)" (?test_utf8_auto_align@@YAXXZ) > [D:\Ivan\SVN\expat-cmake\runtestspp.vcxproj] > ]]] That's a problem, yes. It looks like a possible expat build issue. Seems to apply to the expat test suite. You can toggle building tests in expat and obtain the necessary libs separately. I have no such issues; building expat 2.2.0 my working expat is; cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=..\thirdparty \ -D BUILD_SHARED_LIBS=ON -D CMAKE_BUILD_TYPE=RelWithDebInfo \ -D CMAKE_COLOR_MAKEFILE=OFF . nmake all install I apply one patch to cmake to compile and link RelWithDebInfo correctly to emit .pdb's (It hadn't behaved as documented). This all is working under both Studio 2010 and 2015. FWIW - libxml2 is both a supported substitute for expat in apr-2, as well as a requirement for mod_proxy_html, which is why I'm leaning toward ignoring expat in the future and having both rely exclusively on libxml2. > Agreed. But three years down the road, after the expert who hand-crafted a > > custom .mak solution has moved on to better things and we're on Visual > > Studio vNext, I'm guessing you'll find the same thing will happen there > too > > -- unless you have a plan in mind to avoid it? > > > Well, Visual Studio vNext is going to support CMake builds out of the > box and it sounds very promising. But I cannot get it work for APR yet > :( Do you have a similar apr example, or is it simply that you got jammed in expat and couldn't move forwards? I also have this which illustrates windows builds; https://wiki.apache.org/httpd/WindowsTrunkCompilation Hope that proves interesting/useful. --001a1143e812d8b3320544a8946b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On S= at, Dec 24, 2016 at 1:23 AM, Ivan Zhakov <ivan@visualsvn.com> wrote:

Regarding my current problem: I'm getting the following when I attempt<= br> to build expat:
[[[
runtestspp.obj : error LNK2019: unresolved external symbol
_align_limit_to_full_utf8_characters referenced in function "void=
__cdecl test_utf8_auto_align(void)" (?test_utf8_auto_align@@YAXXZ)
[D:\Ivan\SVN\expat-cmake\runtestspp.vcxproj]
]]]

That's a problem, yes. It looks lik= e a possible expat build issue. Seems
to apply to the expat test = suite. You can toggle building tests in expat
and obtain the nece= ssary libs separately.

I have no such issues; buil= ding expat 2.2.0 my working expat is;

cmake -G &q= uot;NMake Makefiles" -D CMAKE_INSTALL_PREFIX=3D..\thirdparty \
= -D BUILD_SHARED_LIBS=3DON -D CMAKE_BUILD_TYPE=3DRelWithDebInfo \
= -D = CMAKE_COLOR_MAKEFILE=3DOFF .
nmake all install

I apply one patch to cmake to compile and link RelWithDebInfo corr= ectly
to emit .pdb's (It hadn't behaved as documented). T= his all is working
under both Studio 2010 and 2015.
FWIW - libxml2 is both a supported substitute for expat in apr-= 2, as well
as a requirement for mod_proxy_html, which is why I= 9;m leaning toward
ignoring expat in the future and having both r= ely exclusively on libxml2.

> Agreed. But three years = down the road, after the expert who hand-crafted a
> custom .mak solution has moved on to better things and we're on Vi= sual
> Studio vNext, I'm guessing you'll find the same thing will hap= pen there too
> -- unless you have a plan in mind to avoid it?
>
Well, Visual Studio vNext is going to support CMake builds out of th= e
box and it sounds very promising. But I cannot get it work for APR yet
:(

Do you have a similar apr example, or is= it simply that you got jammed
in expat and couldn't move for= wards?=C2=A0

I also have this which illustrates wi= ndows builds;


Hope that proves interesting/usef= ul.
--001a1143e812d8b3320544a8946b-- --001a1143e812d8b3380544a8946d Content-Type: application/octet-stream; name="cmakepdbfix34.patch" Content-Disposition: attachment; filename="cmakepdbfix34.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ix7vvn940 ZGlmZiAtciAtdSAuLlx0XGNtYWtlLTMuNC4zLXdpbjMyLXg4NlxzaGFyZVxjbWFrZS0zLjRcTW9k dWxlc1xQbGF0Zm9ybVxXaW5kb3dzLU1TVkMuY21ha2UgLlxzaGFyZVxjbWFrZS0zLjRcTW9kdWxl c1xQbGF0Zm9ybVxXaW5kb3dzLU1TVkMuY21ha2UNCi0tLSAuLlx0XGNtYWtlLTMuNC4zLXdpbjMy LXg4NlxzaGFyZVxjbWFrZS0zLjRcTW9kdWxlc1xQbGF0Zm9ybVxXaW5kb3dzLU1TVkMuY21ha2UJ TW9uIEphbiAyNSAxMjowMjoxOSAyMDE2DQorKysgLlxzaGFyZVxjbWFrZS0zLjRcTW9kdWxlc1xQ bGF0Zm9ybVxXaW5kb3dzLU1TVkMuY21ha2UJV2VkIE1hciAyMyAwOToxMjoxOCAyMDE2DQpAQCAt MjM3LDggKzIzNyw5IEBADQogc2V0KENNQUtFX1NUQVRJQ19MSU5LRVJfRkxBR1NfSU5J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