Re: make coverage-html on OS X

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: make coverage-html on OS X
Date: 2016-10-27 17:27:46
Message-ID: c5b69335-40fa-d7a5-311a-f3cfccba361a@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/17/16 7:22 AM, Peter Eisentraut wrote:
> On 10/14/16 11:50 AM, Jim Nasby wrote:
>> On 10/13/16 11:13 PM, Peter Eisentraut wrote:
>>> On 10/13/16 4:03 PM, Jim Nasby wrote:
>>>> I've slowly stripped away my normal build environment; I'm now using
>>>> baseline gcc (no ccache) with the following ./configure... anyone have
>>>> any ideas how to debug/fix this?
>>>
>>> Which gcc are you using?
>>
>> gcc --version
>> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>> Apple LLVM version 8.0.0 (clang-800.0.38)
>
> I would try it with something that is not the system compiler. For
> example, a gcc build from Homebrew.

Well, that got me closer, but it's still blowing up on libpq:

genhtml: ERROR: no valid records found in tracefile
./src/interfaces/libpq/lcov.info

That file has 21 lines of nothing but "TN:". There's also a few
complaints about not being able to find object file for ___gcov_execl
and ___gcov_fork. Note the 3 _s, not 2.

I've attached a build log if anyone wants to take a look...

decibel(at)decina:[12:08]~/pgsql/HEAD (master $%=)$gcov --version
gcov (MacPorts gcc49 4.9.4_0) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

decibel(at)decina:[12:14]~/pgsql/HEAD (master $%=)$gcc --version
gcc (MacPorts gcc49 4.9.4_0) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532) mobile: 512-569-9461

Attachment Content-Type Size
build.log text/plain 727.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-10-27 17:45:57 Re: Patch: Implement failover on libpq connect level.
Previous Message Alvaro Herrera 2016-10-27 17:17:07 Re: pg_hba_file_settings view patch