helpGnuTLS - Support: sr #106542, --disable-cxx should not check for...


sr #106542: --disable-cxx should not check for c++ compiler

Submitter:  Daniel Black <danielblack>
Submitted:  Tue 04 Nov 2008 11:46:37 AM UTC
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  Done
Privacy:  Public Assigned to:  jas
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sat 10 Jan 2009 01:19:55 AM UTC, comment #4: 

2.7.x needs some more work too. I'll try to do a patch for you.

Daniel Black <danielblack>
Sat 10 Jan 2009 12:35:31 AM UTC, comment #3: 

improved fix. indicates that it wasn't totally fixed with the original patch.

improved patch thanks to 
Arfrever Frehtes Taifersar Arahesis

(file #17234)

Daniel Black <danielblack>
Sun 16 Nov 2008 05:23:08 AM UTC, comment #2: 

quite right - libtool-1.5.26 will cause problems like . Sorry I didn't see the immediate link to this patch that caused it.

The solution that was suggested by another gentoo dev was to:
rm m4/lt* m4/libtool.m4 build-aux/ and let the reconfigure/libtoolize magic fix it up.

As below it doesn't seem to be a problem though.

testing with from the raw gnutls-20081115 daily snapshot
Portage 2.2_rc14 (default-linux/amd64/2007.0, gcc-4.3.2, glibc-2.7-r2, 2.6.25-gentoo-r7 x86_64)
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26

make check

Daniel Black <danielblack>
Fri 14 Nov 2008 12:01:33 PM UTC, comment #1: 


Added to gnutls v2.7.x:;a=commitdiff;h=e0ed8d655f76b1a856773ed2d5b4155d1d840211

There is an old ChangeLog entry about this though:

2006-06-15  Simon Josefsson <>

  • AC_PROG_CXX must be invoked unconditionally, for

libtool.  (argh!)

So we may see problems due to this.  Let's see if it has been solved with modern libtool.

Simon Josefsson <jas>
Project Administrator
Tue 04 Nov 2008 11:46:37 AM UTC, original submission:  

see this:
./configure --disable-cxx ....

checking whether to build static libraries... yes
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes

should see:

checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for gaa... no
configure: WARNING: ***

Daniel Black <danielblack>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #17234: added by danielblack (502B - text/x-diff - improved fix.)
file #16785: added by danielblack (451B - text/x-diff - fixes in autoconf)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jas (Posted a comment)
  • -email is unavailable- added by danielblack (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-01-10 danielblack Attached File- Added, #17234
    2008-11-14 jas StatusNone Done
        Assigned toNone jas
        Open/ClosedOpen Closed
    2008-11-04 danielblack Attached File- Added, #16785

    Back to the top

    Powered by Savane 3.9