From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6449 invoked by alias); 15 Mar 2007 18:45:15 -0000 Received: (qmail 6148 invoked by uid 48); 15 Mar 2007 18:44:55 -0000 Date: Thu, 15 Mar 2007 18:45:00 -0000 Message-ID: <20070315184455.6147.qmail@sourceware.org> From: "fche at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20070314215028.4186.wcohen@redhat.com> References: <20070314215028.4186.wcohen@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/4186] Cross compiling for sub architectures (e.g. i586 target i686 host) fails X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00582.txt.bz2 ------- Additional Comments From fche at redhat dot com 2007-03-15 18:44 ------- Disabling *that* architecture check is not a plausible fix to this problem. The translator in general does not know how to invoke cross-compilers (or the equivalent: force subarchitecture-specific CFLAGS). The module that managed to be run with this patch might work because of coincidence. One has to examine the compiler command line to see how it was really built. We lack a command line option to set the session.architecture value, like we already set session.release from -r. I suggest "-a ARCH", or perhaps as a suffix to the -r argument. In any case, that's just a first step. The hard part is interfacing properly with a kernel-devel & kernel-debuginfo tree for an arbitrary architecture, and invoking all the cross-compilers (or just non-native options) as needed. -- http://sourceware.org/bugzilla/show_bug.cgi?id=4186 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.