www.digitalmars.com         C & C++   DMDScript  

D.gnu - undefined reference to lang_specific_driver

reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
Hey all.

trying to build gdc with gcc 4.7 in release mode 
(--enable-checking=release, and no --disable-bootstrap, per the general 
instructions), and I'm getting

gcc.o: In function `process_command(unsigned int, cl_decoded_option*)':
gcc.c:(.text+0x2f60): undefined reference to 
`lang_specific_driver(cl_decoded_option**, unsigned int*, int*)'

Anyone know off the top of their heads what this might be about? I'm 
pretty sure this didn't happen when using  --disable-bootstrap 
--enable-checking=yes.
Apr 05 2013
parent reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
On 04/05/2013 10:52 AM, Ellery Newcomer wrote:
 Hey all.

 trying to build gdc with gcc 4.7 in release mode
 (--enable-checking=release, and no --disable-bootstrap, per the general
 instructions), and I'm getting

 gcc.o: In function `process_command(unsigned int, cl_decoded_option*)':
 gcc.c:(.text+0x2f60): undefined reference to
 `lang_specific_driver(cl_decoded_option**, unsigned int*, int*)'

 Anyone know off the top of their heads what this might be about? I'm
 pretty sure this didn't happen when using  --disable-bootstrap
 --enable-checking=yes.
never mind, I got it.
Apr 05 2013
parent reply Johannes Pfau <nospam example.com> writes:
Am Fri, 05 Apr 2013 12:14:19 -0700
schrieb Ellery Newcomer <ellery-newcomer utulsa.edu>:

 On 04/05/2013 10:52 AM, Ellery Newcomer wrote:
 Hey all.

 trying to build gdc with gcc 4.7 in release mode
 (--enable-checking=release, and no --disable-bootstrap, per the
 general instructions), and I'm getting

 gcc.o: In function `process_command(unsigned int,
 cl_decoded_option*)': gcc.c:(.text+0x2f60): undefined reference to
 `lang_specific_driver(cl_decoded_option**, unsigned int*, int*)'

 Anyone know off the top of their heads what this might be about? I'm
 pretty sure this didn't happen when using  --disable-bootstrap
 --enable-checking=yes.
never mind, I got it.
Was it something we need to fix in gdc or an error in your local setup?
Apr 06 2013
parent Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
On 04/06/2013 09:32 AM, Johannes Pfau wrote:
 Am Fri, 05 Apr 2013 12:14:19 -0700
 schrieb Ellery Newcomer <ellery-newcomer utulsa.edu>:

 On 04/05/2013 10:52 AM, Ellery Newcomer wrote:
 Hey all.

 trying to build gdc with gcc 4.7 in release mode
 (--enable-checking=release, and no --disable-bootstrap, per the
 general instructions), and I'm getting

 gcc.o: In function `process_command(unsigned int,
 cl_decoded_option*)': gcc.c:(.text+0x2f60): undefined reference to
 `lang_specific_driver(cl_decoded_option**, unsigned int*, int*)'

 Anyone know off the top of their heads what this might be about? I'm
 pretty sure this didn't happen when using  --disable-bootstrap
 --enable-checking=yes.
never mind, I got it.
Was it something we need to fix in gdc or an error in your local setup?
Don't know. But I think I've run into it before and had an old build script that passed --disable-bootstrap --disable-nls --disable-libquadmath --enable-checking=release to configure, when just now I was passing --enable-checking=release only
Apr 06 2013