Re: make coverage-html on OS X - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: make coverage-html on OS X
Date
Msg-id c5b69335-40fa-d7a5-311a-f3cfccba361a@BlueTreble.com
Whole thread Raw
In response to Re: make coverage-html on OS X  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: make coverage-html on OS X  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Re: make coverage-html on OS X  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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@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@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

pgsql-hackers by date:

Previous
From: "Karl O. Pinc"
Date:
Subject: Re: Patch to implement pg_current_logfile() function
Next
From: Robert Haas
Date:
Subject: Re: Patch: Implement failover on libpq connect level.