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

 
 

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

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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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. https://bugs.gentoo.org/show_bug.cgi?id=249326 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 https://bugs.gentoo.org/show_bug.cgi?id=245544 . 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/ltmain.sh 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

./configure
make
(worked)
make check
(worked)

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

Thanks.

Added to gnutls v2.7.x:
http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=e0ed8d655f76b1a856773ed2d5b4155d1d840211

There is an old ChangeLog entry about this though:

2006-06-15  Simon Josefsson <simon@josefsson.org>

  • configure.in: 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 AdministratorIn charge of this item.
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:
   
   
Comment:
   

Attached Files
file #17234:  gnutls-2.6.0-cxx-configure.in.patch added by danielblack (502B - text/x-diff - improved fix.)
file #16785:  gnutls-2.6.0-cxx-configure.in.patch 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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 gnutls-2.6.0-cxx-configure.in.patch, #17234
    2008-11-14 jas StatusNone => Done
        Assigned toNone => jas
        Open/ClosedOpen => Closed
    2008-11-04 danielblack Attached File- => Added gnutls-2.6.0-cxx-configure.in.patch, #16785

    Back to the top


    Powered by Savane 3.7