Opened 9 years ago

Closed 9 years ago

#144 closed defect (invalid)

./configure --help failes with exception

Reported by: alexander.basov Owned by:
Priority: major Milestone:
Component: Matreshka Version:
Keywords: Cc:


(gdb) start
Temporary breakpoint 1 at 0x423d4c: file /mnt/work/programming/projects/matreshka/tools/configure/configure-driver.adb, line 62.
Starting program: /mnt/work/programming/projects/matreshka/configure --help
b ex
Temporary breakpoint 1, configure.driver () at /mnt/work/programming/projects/matreshka/tools/configure/configure-driver.adb:62
warning: Source file is more recent than executable.
62         Configure.Directories;
(gdb) b exception
Catchpoint 2: all Ada exceptions
(gdb) c

Catchpoint 2, GNAT.EXPECT.PROCESS_DIED at 0x000000000040ff7f in (directory=...)
    at /mnt/work/programming/projects/matreshka/tools/configure/configure-builder.adb:73
73                    Get_Command_Output
(gdb) bt
#0  <__gnat_debug_raise_exception> (e=0x691500) at s-except.adb:43
#1  0x000000000042f6bf in <__gnat_raise_nodefer_with_msg> (e=0x691500) at a-except.adb:833
#2  0x000000000042f720 in <__gnat_raise_exception> (e=0x691500, message=...) at a-except.adb:873
#3  0x0000000000446339 in gnat.expect.expect ()
#4  0x00000000004465d7 in gnat.expect.expect ()
#5  0x0000000000446689 in gnat.expect.expect ()
#6  0x0000000000447cf7 in gnat.expect.get_command_output ()
#7  0x000000000040ff7f in (directory=...) at /mnt/work/programming/projects/matreshka/tools/configure/configure-builder.adb:73
#8  0x000000000041151c in configure.architecture.detect_gcc () at /mnt/work/programming/projects/matreshka/tools/configure/configure-architecture.adb:110
#9  0x00000000004119af in configure.architecture () at /mnt/work/programming/projects/matreshka/tools/configure/configure-architecture.adb:148
#10 0x0000000000423d56 in configure.driver () at /mnt/work/programming/projects/matreshka/tools/configure/configure-driver.adb:63

Change History (2)

comment:1 by alexander.basov, 9 years ago

./configure also fails with the same error.

comment:2 by vadim.godunko, 9 years ago

Resolution: invalid
Status: newclosed
Version: 0.1.1

configure doesn't support --help switch.

Reported exception is expected.

Ticket was opened to add support of --help to configure program.

Note: See TracTickets for help on using tickets.