Bug 36006 - Repeated unrecognised Option (systemd editions 20,21,22 and 23) against GCC 4.4.3
Summary: Repeated unrecognised Option (systemd editions 20,21,22 and 23) against GCC 4...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: low trivial
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 15:03 UTC by Jeremy Kajikawa
Modified: 2013-12-01 23:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jeremy Kajikawa 2011-04-05 15:03:26 UTC
Is the following specifically a fault or from use of gcc 4.4.3 as systemwide compiler ?
Does the Makefile depend on a newer version of GCC and Make being installed?
What further information is required?
----
/usr/bin/make  all-am
make[1]: Entering directory `/usr/src/systemd-23'
  CC     src/systemd_gnome_ask_password_agent-gnome-ask-password-agent.o
In file included from /usr/include/gtk-2.0/gtk/gtk.h:233,
                 from src/gnome-ask-password-agent.c:8:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype [-Wstrict-prototypes]
src/gnome-ask-password-agent.c:76: warning: redundant redeclaration of 'clock_gettime' [-Wredundant-decls]
/usr/include/time.h:336: note: previous declaration of 'clock_gettime' was here
src/gnome-ask-password-agent.c: In function 'my_status_icon_load_password':
src/gnome-ask-password-agent.c:545: error: too few arguments to function 'notify_notification_new'
src/gnome-ask-password-agent.c: In function '_vala_main':
src/gnome-ask-password-agent.c:739: warning: passing argument 4 of 'gtk_init_with_args' discards qualifiers from pointer target type
/usr/include/gtk-2.0/gtk/gtkmain.h:100: note: expected 'struct GOptionEntry *' but argument is of type 'const struct GOptionEntry *'
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-result"
make[1]: *** [src/systemd_gnome_ask_password_agent-gnome-ask-password-agent.o] Error 1
make[1]: Leaving directory `/usr/src/systemd-23'
make: *** [all] Error 2
Comment 1 Jeremy Kajikawa 2011-04-05 15:05:51 UTC
Using the git repository edition does not show this during building...
and I have scripted the installation of systemd on the target system.

That is how I confirmed the 20 through 23 archive versions all showing this,
  and I am questioning if it is my specific setup therefore marking this as
  a trivial bug.
Comment 2 Jeremy Kajikawa 2011-09-10 05:56:18 UTC
full system rebuild from source, Sept 3rd through Sept 11th 2011,

systemd 29-35 (consecutive build attempts) with GCC 4.6.1,
 repeated this same error condition (all from release tarballs)
Comment 3 Lennart Poettering 2012-07-20 15:23:17 UTC
Hmm, does this problem still exist?
Comment 4 Jeremy Kajikawa 2012-07-21 00:31:09 UTC
Working through that I found using the newest vala would break systemd 

I am going to rebuild and recheck this
Comment 5 Cristian Rodríguez 2013-12-01 23:28:22 UTC
I have closed this bug as there is no longer vala code in systemd


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.